BZMediaResult Class Reference
Inherits from | NSObject |
Declared in | BZMediaResult.h |
Overview
This interface exposes the methods in order to translate media results to their textual representation or better visibiliy, logging and debugging. BZMediaResult “forBZMediaResult” method is static and is accessed directly through BZMediaResult wthout the need to create on object of the interface. For example, the following functions return the string “BZ_ERR_AUDIOPLAYER_NOT_INITIALIZED”:
NSString* mediaResult = [BZMediaResult forBZMediaResult:BZ_ERR_AUDIOPLAYER_NOT_INITIALIZED];
Swift
let mediaResult = BZMediaResult.forBZMediaResult(BZ_ERR_AUDIOPLAYER_NOT_INITIALIZED)
Tasks
-
+ forBZMediaResult:
Method to translate a BZ_RESULT enumerated constant to its textual representation.
Class Methods
forBZMediaResult:
+ (NSString *)forBZMediaResult:(BZ_RESULT)result
Discussion
Method to translate a BZ_RESULT enumerated constant to its textual representation.
Parameters
result
The media result enumerated constant.
Return Value
The textual representation of the media result enumerated constant.
Declared In
BZMediaResult.h