BasePlayerStateSubscriber Class

open class BasePlayerStateSubscriber : InternalStateSubscriberProtocol

Cross-component communication move outside factory

Lifecycle

  • Declaration

    Swift

    public init(_ player: AnyPlayer)

    Parameters

    player

    player

Internal

  • New state incoming

    Declaration

    Swift

    public func newState(state: InternalState)

    Parameters

    state

    new state