struct PayloadPayload for the StateChangedEvent.
-
Indicates the updated playback state.
Declaration
Swift
let currentState: Matter.MediaPlaybackTrait.PlaybackStateEnum? -
Indicates the updated tart time.
Declaration
Swift
let startTime: UInt64? -
Indicates the updated duration.
Declaration
Swift
let duration: UInt64? -
Indicates updated position of playback.
Declaration
Swift
let sampledPosition: Matter.MediaPlaybackTrait.PlaybackPositionStruct? -
Indicates the updated playback speed.
Declaration
Swift
let playbackSpeed: Float32? -
Indicates the updated seek range end.
Declaration
Swift
let seekRangeEnd: UInt64? -
Indicates the updated seek range start.
Declaration
Swift
let seekRangeStart: UInt64? -
Contains optional app-specific data.
Declaration
Swift
let data: Data? -
Indicates whether audio is unmuted by the player due to a FF or REW command.
Declaration
Swift
let audioAdvanceUnmuted: Bool? -
A textual representation of this instance, suitable for debugging.
Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the
String(reflecting:)initializer. This initializer works with any type, and uses the customdebugDescriptionproperty for types that conform toCustomDebugStringConvertible:struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)"The conversion of
pto a string in the assignment tosuses thePointtype’sdebugDescriptionproperty.Declaration
Swift
var debugDescription: String { get }