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 IVSErrorSource object 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

    source

    the error source that emitted the error

    error

    the error emitted by the error source