BMPPlayerErrorCode

Objective-C

enum BMPPlayerErrorCode : NSInteger {}

Swift

typealias PlayerError.Code._ErrorType = PlayerError

This enum represents the error codes that can be associated with PlayerErrorEvent.

  • Verification of the player license key failed. A valid license must be provided in the Info.plist file or in the PlayerConfiguration.

    Declaration

    Objective-C

    BMPPlayerErrorCodeLicenseKeyNotFound = 1002

    Swift

    case licenseKeyNotFound = 1002
  • The license request failed or was denied by the server. One possible reason is that the Bundle ID of the app is not authorized for the specified player license key. Make sure that the Bundle ID of the application is registered for the license key provided in the Info.plist file or in the PlayerConfiguration. This can be done in the Bitmovin dashboard.

    Declaration

    Objective-C

    BMPPlayerErrorCodeLicenseAuthenticationFailed = 1003

    Swift

    case licenseAuthenticationFailed = 1003
  • A general error code for Advertising errors.

    Declaration

    Objective-C

    BMPPlayerErrorCodeAdvertising = 1004

    Swift

    case advertising = 1004
  • Failed to deserialize object to JSON.

    Declaration

    Objective-C

    BMPPlayerErrorCodeJsonDeserializationFailed = 1099

    Swift

    case jsonDeserializationFailed = 1099
  • A general error code for network errors.

    Declaration

    Objective-C

    BMPPlayerErrorCodeNetworkGeneral = 1200

    Swift

    case networkGeneral = 1200