BMPSubtitleTrackController

Objective-C

@protocol BMPSubtitleTrackController <NSObject>

Swift

protocol SubtitleTrackController : NSObjectProtocol

Enables external control over the associated BMPSubtitleTrack

  • Triggers a CueEnterEvent.

    Declaration

    Objective-C

    - (void)cueEnter:(nonnull BMPCue *)cue;

    Swift

    func cueEnter(_ cue: Cue)

    Parameters

    cue

    The BMPCue that should enter.

  • Triggers a CueExitEvent.

    Declaration

    Objective-C

    - (void)cueExit:(nonnull BMPCue *)cue;

    Swift

    func cueExit(_ cue: Cue)

    Parameters

    cue

    The BMPCue that should exit.