Emitted when an error has occurred.

Platform

Android, iOS

interface OnErrorEvent {
    code?: number;
    eventType: onError;
    identifier: string;
    message?: string;
    nativeId: string;
    state: OfflineState;
}

Hierarchy (view full)

Properties

code?: number

The error code of the process error

eventType: onError

The OfflineEventType that correlates to which native OfflineContentManagerListener method was called.

identifier: string

The supplied id representing the source associated with the OfflineContentManager emitting this event.

message?: string

The error message of the process error

nativeId: string

The native id associated with the OfflineContentManager emitting this event

The current offline download state