VideoPlayerError
@interface VideoPlayerError : NSError
Custom NSError subclass with shortcut methods for creating the common VideoPlayer errors
-
Creates a VideoPlayerError instance with code kVideoPlayerErrorInvalidVideoURL = 1
Declaration
Objective-C
+ (id)errorInvalidVideoURL:(NSString *)url;Swift
class func errorInvalidVideoURL(_ url: String!) -> Any! -
Creates a VideoPlayerError instance with code kVideoPlayerErrorBadResponse = 2
Declaration
Objective-C
+ (id)errorBadResponse:(NSString *)response;Swift
class func errorBadResponse(_ response: String!) -> Any! -
Creates a VideoPlayerError instance with code kVideoPlayerErrorUnsupportedFormat = 3
Declaration
Objective-C
+ (id)errorUnsupportedFormat:(NSString *)format;Swift
class func errorUnsupportedFormat(_ format: String!) -> Any! -
Creates a VideoPlayerError instance with code kVideoPlayerErrorSeekingNotPossible = 4
Declaration
Objective-C
+ (id)errorSeekingNotPossible;Swift
class func errorSeekingNotPossible() -> Any! -
Creates a VideoPlayerError instance with code kVideoPlayerErrorKeysUnavailable = 5
Declaration
Objective-C
+ (id)errorKeysUnavailable:(NSSet *)keys;Swift
class func errorKeysUnavailable(_ keys: Set -
Creates a VideoPlayerError instance with code kVideoPlayerErrorInvalidVideoURL = 1
Declaration
Objective-C
+ (id)errorAVAssetNotPlayable:(AVURLAsset *)assetURL;Swift
class func errorAVAssetNotPlayable(_ assetURL: AVURLAsset!) -> Any!
View on GitHub
VideoPlayerError Class Reference