CastPayload

@available(tvOS, unavailable)
@objc(BMPCastPayload)
@objcMembers
public final class CastPayload : NSObject

A class holding information for the CastWaitingForDeviceEvent.

  • The currentTime of the player at which CastWaitingForDeviceEvent was emitted.

    Declaration

    Swift

    public let currentTime: TimeInterval
  • The time at which this event was fired

    Declaration

    Swift

    public let timestamp: TimeInterval
  • The device name

    Declaration

    Swift

    public let deviceName: String
  • The type of the casting

    Declaration

    Swift

    public let type: String
  • Declaration

    Swift

    public init(
        deviceName: String,
        currentTime: TimeInterval,
        timestamp: TimeInterval
    )