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

    IVSPlayerNetworkRecoveryModeNone

    Swift

    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

    IVSPlayerNetworkRecoveryModeResume

    Swift

    case resume = 1