Skip to main content

Interface: NativeCastSessionEvent

Defined in: packages/cast/src/specs/cast.nitro.ts:211

Session lifecycle notification.

Properties

device?

optional device?: CastDeviceInfo;

Defined in: packages/cast/src/specs/cast.nitro.ts:219


errorCode?

optional errorCode?: number;

Defined in: packages/cast/src/specs/cast.nitro.ts:218

Platform status code accompanying startFailed, suspended, ended (when the end was an error) and transferFailed. Android: a CastStatusCodes value; iOS: an NSError code.


type

type: CastSessionEventType;

Defined in: packages/cast/src/specs/cast.nitro.ts:212