Constants
The following constants are available globally.
-
Undocumented
-
Undocumented
-
The domain name used for the VideoPlayerError instances
Declaration
Objective-C
extern NSString *const VideoPlayerErrorDomainSwift
let VideoPlayerErrorDomain: String -
Undocumented
-
Undocumented
-
Undocumented
-
Undocumented
-
Notification that occurs whenever the VideoPlayer changes its
AVAssetproperty. Check the new value using the VideoPlayer’sAVAssetproperty.Declaration
Objective-C
extern NSString *const VideoPlayerDidChangeAVAssetNotificationSwift
static let VideoPlayerDidChangeAVAsset: NSNotification.Name -
Notification that occurs whenever the VideoPlayer changes its component’s play state. Check the new value using the VideoPlayer’s
isPlayingproperty.Declaration
Objective-C
extern NSString *const VideoPlayerDidChangePlayStateNotificationSwift
static let VideoPlayerDidChangePlayState: NSNotification.Name -
Notification that occurs whenever the VideoPlayer has reached the end of a file and its
shouldLoopproperty has been set to NO.Declaration
Objective-C
extern NSString *const VideoPlayerDidReachEndOfFileNotificationSwift
static let VideoPlayerDidReachEndOfFile: NSNotification.Name -
Notification that occurs whenever the VideoPlayer performs a seek via the
seekToFramemethod orsetCurrentTime:property setter. Check the newcurrentTimeorframeIndexvalue using the VideoPlayer’scurrentTimeorframeIndexproperty, respectively.Declaration
Objective-C
extern NSString *const VideoPlayerDidSeekNotificationSwift
static let VideoPlayerDidSeek: NSNotification.Name -
Notification that occurs after an observer has registered for current time of playback progress
Declaration
Objective-C
extern NSString *const VideoPlayerCurrentTimeNotificationSwift
static let VideoPlayerCurrentTime: NSNotification.Name -
Notification that occurs after an observer has registered for duration of playback video
Declaration
Objective-C
extern NSString *const VideoPlayerDurationNotificationSwift
static let VideoPlayerDuration: NSNotification.Name -
Notification that occurs after an observer has registered for duration of playback video
Declaration
Objective-C
extern NSString *const VideoPlayerLoadedTimeRangesNotificationSwift
static let VideoPlayerLoadedTimeRanges: NSNotification.Name
View on GitHub
Constants Reference