IVSErrorDelegate
Objective-C
@protocol IVSErrorDelegate <NSObject>
Swift
protocol IVSErrorDelegate : NSObjectProtocol
Provide a delegate to receive errors emitted from IVSErrorSource objects. Updates may be run on arbitrary threads and not the main thread.
-
Indicates that an
IVSErrorSourceobject emitted an error.Declaration
Objective-C
- (void)source:(nonnull id<IVSErrorSource>)source didEmitError:(nonnull NSError *)error;Swift
func source(_ source: IVSErrorSource, didEmitError error: Error)Parameters
sourcethe error source that emitted the error
errorthe error emitted by the error source
IVSErrorDelegate Protocol Reference