Other Type Definitions

The following type definitions are available globally.

Available Tracking Events

  • The block to be executed when the current playlist is completed @since v1.7

    Declaration

    Objective-C

    typedef void (^APSMediaPlayerFinishBlock)(void)

    Swift

    typealias APSMediaPlayerFinishBlock = () -> Void
  • A block that is used by the thumbnail generation methods to asynchronously return an image

    Declaration

    Objective-C

    typedef void (^APSThumbnailGeneratedBlock)(UIImage *_Nullable)

    Swift

    typealias APSThumbnailGeneratedBlock = (UnsafeMutablePointer<Int32>?) -> Void