BCOVPlaybackServiceErrorCode Constants Reference
Declared in | BCOVPlaybackService.h |
---|
BCOVPlaybackServiceErrorCode
Errors associated with Playback API requests.
Definition
typedef NS_ENUM(NSInteger, BCOVPlaybackServiceErrorCode ) {
BCOVPlaybackServiceErrorNoError,
BCOVPlaybackServiceErrorCodeConnectionError,
BCOVPlaybackServiceErrorCodeJSONDeserializationError,
BCOVPlaybackServiceErrorCodeAPIError,
};
Constants
BCOVPlaybackServiceErrorNoError
-
No error.
Declared In
BCOVPlaybackService.h
. BCOVPlaybackServiceErrorCodeConnectionError
-
Error Code that indicates there was an error connecting to the Playback API. Check the error.userInfo key NSUnderlyingErrorKey for the actual connection error.
Declared In
BCOVPlaybackService.h
. BCOVPlaybackServiceErrorCodeJSONDeserializationError
-
Error Code that indicates there was an error parsing the response as JSON. If the request returned any data, that raw NSData will be included in the userInfo by key kBCOVPlaybackServiceErrorKeyRawResponseData. Check the error.userInfo key NSUnderlyingErrorKey for the actual JSON deserialization error.
Declared In
BCOVPlaybackService.h
. BCOVPlaybackServiceErrorCodeAPIError
-
Error Code that indicates there was an error returned by the API. Check the error.userInfo key kBCOVPlaybackServiceErrorKeyAPIErrors for an NSArray of errors returned by the API and key kBCOVPlaybackServiceErrorKeyAPIHTTPStatusCode to find the status code returned.
Declared In
BCOVPlaybackService.h
.
Declared In
BCOVPlaybackService.h