Constants
The following constants are available globally.
-
This will be the
domain
on theNSError
objects that the Broadcast SDK emits.Declaration
Objective-C
extern const NSErrorDomain IVSBroadcastErrorDomain
Swift
let IVSBroadcastErrorDomain: String
-
For errors emitted by the SDK, they will all have a key of
IVSBroadcastErrorIsFatalKey
in theiruserInfo
property. The value will be an BOOL wrapped in anNSNumber
describing whether the emitted error is fatal or not (fatal means recovery is impsosible).Declaration
Objective-C
extern const NSErrorUserInfoKey IVSBroadcastErrorIsFatalKey
Swift
let IVSBroadcastErrorIsFatalKey: String
-
NSString
, short text describing the source of where the error originated from.Declaration
Objective-C
extern const NSErrorUserInfoKey IVSBroadcastSourceDescriptionErrorKey
Swift
let IVSBroadcastSourceDescriptionErrorKey: String
-
NSString
, short text describing the category of error.Declaration
Objective-C
extern const NSErrorUserInfoKey IVSBroadcastResultDescriptionErrorKey
Swift
let IVSBroadcastResultDescriptionErrorKey: String
-
NSString
, short text describing the error UID.Declaration
Objective-C
extern const NSErrorUserInfoKey IVSBroadcastUidDescriptionErrorKey
Swift
let IVSBroadcastUidDescriptionErrorKey: String