SCMediaError

@interface SCMediaError : NSObject
///Media error codes
typedef enum MediaErrorCode {
    MEDIA_ERR_ABORTED = 1,
    MEDIA_ERR_NETWORK,
    MEDIA_ERR_DECODE,
    MEDIA_ERR_SRC_NOT_SUPPORTED
} MediaErrorCode;

/**
 Use this class to inform SmartclipSDKiOS about a media error (error that occured during
 content video playback)
 */
- (instancetype)initWithError:(NSError*)error;
- (NSString*)description;
@end

Undocumented

  • Use this class to inform SmartclipSDKiOS about a media error (error that occured during content video playback)

    Declaration

    Objective-C

    - (nonnull instancetype)initWithError:(nonnull NSError *)error;
  • Undocumented

    Declaration

    Objective-C

    - (NSString*)description;