Constants

The following constants are available globally.

常量

  • Undocumented

    Declaration

    Objective-C

    static const double PLVVodAnimationDuration = 0.25

    Swift

    let PLVVodAnimationDuration: Double

通知

  • 片头播放状态变更通知

    Declaration

    Objective-C

    static NSString * const PLVVodPlayerTeaserStateDidChangeNotification

    Swift

    let PLVVodPlayerTeaserStateDidChangeNotification: UnsafeMutablePointer<Int32>!
  • 广告播放状态变更通知

    Declaration

    Objective-C

    static NSString * const PLVVodPlayerAdStateDidChangeNotification

    Swift

    let PLVVodPlayerAdStateDidChangeNotification: UnsafeMutablePointer<Int32>!
  • 远程控制通知

    Declaration

    Objective-C

    static NSString * const PLVVodRemoteControlEventDidReceiveNotification

    Swift

    let PLVVodRemoteControlEventDidReceiveNotification: UnsafeMutablePointer<Int32>!
  • Undocumented

    Declaration

    Objective-C

    static NSString * const PLVVodRemoteControlEventKey

    Swift

    let PLVVodRemoteControlEventKey: UnsafeMutablePointer<Int32>!
  • 通知定义

    Declaration

    Objective-C

    static NSString * const kNotificationIJKPlayerCreateKey

    Swift

    let kNotificationIJKPlayerCreateKey: UnsafeMutablePointer<Int32>!

错误声明

  • Undocumented

    Declaration

    Objective-C

    static NSString * const PLVVodErrorDomain

    Swift

    let PLVVodErrorDomain: UnsafeMutablePointer<Int32>!
  • Undocumented

    Declaration

    Objective-C

    static NSString * const PLVVodErrorSelectorKey

    Swift

    let PLVVodErrorSelectorKey: UnsafeMutablePointer<Int32>!
  • Undocumented

    Declaration

    Objective-C

    static NSString * const PLVVodSubErrorCodeKey

    Swift

    let PLVVodSubErrorCodeKey: UnsafeMutablePointer<Int32>!
  • Undocumented

    Declaration

    Objective-C

    static NSString * const PLVVodHttpStatusCodeKey

    Swift

    let PLVVodHttpStatusCodeKey: UnsafeMutablePointer<Int32>!
  • Undocumented

    Declaration

    Objective-C

    static NSString * const PLVVodNSURLErrorCodeKey

    Swift

    let PLVVodNSURLErrorCodeKey: UnsafeMutablePointer<Int32>!
  • Undocumented

    Declaration

    Objective-C

    static NSString * const PLVSysErrorDomainKey

    Swift

    let PLVSysErrorDomainKey: UnsafeMutablePointer<Int32>!
  • Undocumented

    Declaration

    Objective-C

    static NSString * const PLVSysErrorCodeKey

    Swift

    let PLVSysErrorCodeKey: UnsafeMutablePointer<Int32>!
  • SDK 版本

    Declaration

    Objective-C

    extern NSString *const PLVVodSdkVersion

    Swift

    let PLVVodSdkVersion: String