IVSPlayerNetworkRecoveryMode
Objective-C
enum IVSPlayerNetworkRecoveryMode : NSInteger {}
Swift
enum NetworkRecoveryMode : Int, @unchecked Sendable
Possible recovery modes for -[IVSPlayer setNetworkRecoveryMode:]
-
Do nothing after recovering from a network interruption.
Declaration
Objective-C
IVSPlayerNetworkRecoveryModeNoneSwift
case none = 0 -
Resumes the previous player state after recovering from a network interruption. For example, if the player was playing before the network was interrupted, then it will resume playback after network recovery. Similarly, if the player was paused, then it remains paused.
Declaration
Objective-C
IVSPlayerNetworkRecoveryModeResumeSwift
case resume = 1
IVSPlayerNetworkRecoveryMode Enumeration Reference