File: LinearMediaKit.swiftinterface

package info (click to toggle)
webkit2gtk 2.48.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 429,764 kB
  • sloc: cpp: 3,697,587; javascript: 194,444; ansic: 169,997; python: 46,499; asm: 19,295; ruby: 18,528; perl: 16,602; xml: 4,650; yacc: 2,360; sh: 2,098; java: 1,993; lex: 1,327; pascal: 366; makefile: 298
file content (152 lines) | stat: -rw-r--r-- 5,773 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
// swift-interface-format-version: 1.0
// swift-module-flags: -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -library-level spi -enable-bare-slash-regex -user-module-version 199.100.12 -module-name LinearMediaKit

import _Concurrency
import Combine
import Foundation
@_spi(RealityKit) @_spi(Private) import RealityFoundation
import Swift
import UIKit

@_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers @objc(LMPlayableViewController) @_Concurrency.MainActor(unsafe) public class PlayableViewController : UIKit.UIViewController {
@_Concurrency.MainActor(unsafe) public var prefersAutoDimming: Swift.Bool {
  get
  set
}
}
public enum ContentType : Swift.Equatable, Swift.CaseIterable, Swift.Codable, Swift.Sendable {
 case immersive
 case spatial
 case planar
 case audioOnly
 public static func == (a: LinearMediaKit.ContentType, b: LinearMediaKit.ContentType) -> Swift.Bool
 public func hash(into hasher: inout Swift.Hasher)
 public typealias AllCases = [LinearMediaKit.ContentType]
 public static var allCases: [LinearMediaKit.ContentType] {
   get
 }
 public func encode(to encoder: any Swift.Encoder) throws
 public var hashValue: Swift.Int {
   get
 }
 public init(from decoder: any Swift.Decoder) throws
}
public enum PresentationMode {
 case inline
 case fullscreen
 case fullscreenFromInline
 case pip
 public static func == (a: LinearMediaKit.PresentationMode, b: LinearMediaKit.PresentationMode) -> Swift.Bool
 public func hash(into hasher: inout Swift.Hasher)
 public var hashValue: Swift.Int {
   get
 }
}
public struct RenderingConfiguration : Swift.Equatable {
 public var contentType: LinearMediaKit.ContentType?
 public var wantsThumbnailLayerPublished: Swift.Bool
 public var wantsThumbnailMaterialPublished: Swift.Bool
 public var wantsVideoLayerPublished: Swift.Bool
 public var wantsVideoMaterialPublished: Swift.Bool
 public var wantsVideoAssetPublished: Swift.Bool
 public var wantsPeculiarEntityPublished: Swift.Bool
 public static func == (a: LinearMediaKit.RenderingConfiguration, b: LinearMediaKit.RenderingConfiguration) -> Swift.Bool
}
public enum ViewingMode {
 case mono
 case stereo
 case immersive
 public static var unique: LinearMediaKit.ViewingMode {
   get
 }
 case spatial
 public static var singular: LinearMediaKit.ViewingMode {
   get
 }
 public static func == (a: LinearMediaKit.ViewingMode, b: LinearMediaKit.ViewingMode) -> Swift.Bool
 public func hash(into hasher: inout Swift.Hasher)
 public var hashValue: Swift.Int {
   get
 }
}
public enum PeculiarMode {
 case portal
 case immersive
 public static func == (a: LinearMediaKit.PeculiarMode, b: LinearMediaKit.PeculiarMode) -> Swift.Bool
 public func hash(into hasher: inout Swift.Hasher)
 public var hashValue: Swift.Int {
   get
 }
}
public protocol Peculiarable {
 func setScreen(width: Swift.Float, height: Swift.Float)
 var screenMode: LinearMediaKit.PeculiarMode { get set }
 var supportedScreenModes: [LinearMediaKit.PeculiarMode] { get }
 var screenGUIDPublisher: Combine.AnyPublisher<Swift.UInt64?, Swift.Never> { get }
 var shouldDisplayThumbnail: Swift.Bool { get }
 var preferStereoPlayback: Swift.Bool { get set }
}
public typealias PeculiarEntity = RealityFoundation.Entity & LinearMediaKit.Peculiarable
public enum ContentMode : Swift.Int, Swift.CaseIterable {
 case scaleAspectFit
 case scaleAspectFill
 case scaleToFill
 public static var `default`: LinearMediaKit.ContentMode
 public init?(rawValue: Swift.Int)
 public typealias AllCases = [LinearMediaKit.ContentMode]
 public typealias RawValue = Swift.Int
 public static var allCases: [LinearMediaKit.ContentMode] {
   get
 }
 public var rawValue: Swift.Int {
   get
 }
}
public protocol ContentMetadataKey {
 associatedtype Value : Swift.Equatable
 static var name: Swift.String { get }
}
public struct ContentMetadata {
 public enum DisplayTitle : LinearMediaKit.ContentMetadataKey {
   public typealias Value = Swift.String
   public static var name: Swift.String
 }
 public let displayTitle: LinearMediaKit.ContentMetadata.DisplayTitle
 public enum DisplaySubtitle : LinearMediaKit.ContentMetadataKey {
   public typealias Value = Swift.String
   public static var name: Swift.String
 }
 public let displaySubtitle: LinearMediaKit.ContentMetadata.DisplaySubtitle
 public enum AnticipatedStartDate : LinearMediaKit.ContentMetadataKey {
   public typealias Value = Foundation.Date
   public static var name: Swift.String
 }
 public let anticipatedStartDate: LinearMediaKit.ContentMetadata.AnticipatedStartDate
 public enum AnticipatedEndDate : LinearMediaKit.ContentMetadataKey {
   public typealias Value = Foundation.Date
   public static var name: Swift.String
 }
 public let anticipatedEndDate: LinearMediaKit.ContentMetadata.AnticipatedEndDate
}
@dynamicMemberLookup public struct ContentMetadataContainer {
 public init()
 public subscript<K>(dynamicMember keyPath: Swift.KeyPath<LinearMediaKit.ContentMetadata, K>) -> K.Value? where K : LinearMediaKit.ContentMetadataKey {
   get
   set
 }
}
public struct FullscreenBehaviors : Swift.OptionSet, Swift.CustomStringConvertible {
 public let rawValue: Swift.Int
 public init(rawValue: Swift.Int)
 public static let sceneResize: LinearMediaKit.FullscreenBehaviors
 public static let sceneSizeRestrictions: LinearMediaKit.FullscreenBehaviors
 public static let sceneChromeOptions: LinearMediaKit.FullscreenBehaviors
 public static let hostContentInline: LinearMediaKit.FullscreenBehaviors
 public static let `default`: [LinearMediaKit.FullscreenBehaviors]
 public var description: Swift.String {
   get
 }
 public typealias ArrayLiteralElement = LinearMediaKit.FullscreenBehaviors
 public typealias Element = LinearMediaKit.FullscreenBehaviors
 public typealias RawValue = Swift.Int
}