Protocols

The following protocols are available globally.

  • Implements the STSLiveEventListenerDelegate protocol to handle live event without player.

    See more

    Declaration

    Objective-C

    @protocol STSLiveEventListenerDelegate <NSObject>

    Swift

    protocol STSLiveEventListenerDelegate : NSObjectProtocol
  • Implements the STSPlayerLiveEventDelegate protocol to respond to live event.

    See more

    Declaration

    Objective-C

    @protocol STSPlayerLiveEventDelegate <NSObject>

    Swift

    protocol STSPlayerLiveEventDelegate
  • Implements the STSPlayerPlaybackEventDelegate protocol to respond to playback events.

    See more

    Declaration

    Objective-C

    @protocol STSPlayerPlaybackEventDelegate <NSObject>

    Swift

    protocol STSPlayerPlaybackEventDelegate
  • Implements the STSPlayerPlaybackEventDelegate protocol to respond to playlist events.

    See more

    Declaration

    Objective-C

    @protocol STSPlayerPlaylistEventDelegate <NSObject>

    Swift

    protocol STSPlayerPlaylistEventDelegate
  • The delegate of a STSSDKPlayerView object must adopt the STSSDKPlayerViewDelegate protocol.

    See more

    Declaration

    Objective-C

    @protocol STSSDKPlayerViewDelegate <NSObject>

    Swift

    protocol STSSDKPlayerViewDelegate : NSObjectProtocol