NetworkErrorEvent

@objc(THEOplayerNetworkErrorEvent)
public class NetworkErrorEvent : NSObject, EventProtocol

Fired when NetworkEventTypes.ERROR occurs for the THEOplayer.

  • The textual representation of the type of event, ‘networkerror’.

    Declaration

    Swift

    public private(set) var type: String { get }
  • The date at which the event occurred.

    Declaration

    Swift

    public private(set) var date: Date { get }
  • A NetworkError instance containing information about the error.

    Declaration

    Swift

    @objc
    public private(set) var error: NetworkError? { get }