Inherits from NSObject
Declared in BZMediaError.h

Overview

This interface exposes the method which translates media error codes to their textual representation for better visibiliy, logging and debugging. BZMediaError “forBZMediaError” method is static and is accessed directly through BZMediaError wthout the need to create on object of the interface. For example, the following method call returns the string “VE_ALREADY_LISTENING” for the media error code 8012:

NSString* mediaError = [BZMediaError forBZMediaError:8012];

Swift
let mediaError = BZMediaError.forBZMediaError(8012)

Tasks

  • + forBZMediaError:

    Method to translate a media error code (integer) to its textual representation.

Class Methods

forBZMediaError:

+ (NSString *)forBZMediaError:(int)mediaError

Discussion

Method to translate a media error code (integer) to its textual representation.

Parameters

mediaError

The media error code.

Return Value

The textual representation of the media error code.

Declared In

BZMediaError.h