Emitted when the download of the media content was canceled by the user and all partially downloaded content has been deleted from disk.

Platform

Android, iOS

interface OnCanceledEvent {
    eventType: onCanceled;
    identifier: string;
    nativeId: string;
    state: OfflineState;
}

Hierarchy (view full)

Properties

eventType: onCanceled

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.

nativeId: string

The native id associated with the OfflineContentManager emitting this event

The current offline download state