ErrorEvent

@objc(THEOplayerErrorEvent)
public class ErrorEvent : PlayerEvent

Fired when PlayerEventTypes.ERROR occurs for the THEOplayer.

  • The textual representation of the error that happened.

    Remark

    • Can be an error message or a representation of the error object.

    Declaration

    Swift

    @objc
    public private(set) var error: String { get }
  • A more descriptive THEOErrorcontaining information about the error.

    Declaration

    Swift

    @objc
    public private(set) var errorObject: THEOError? { get }