Skip to main content

Interface: CastSenderEvents

Available events to listen to

Properties

connected

connected: void

When a connection has been established with a CastReceiver


disconnected

disconnected: void

When a CastReceiver has lost or stopped a connection


failed

failed: void

When a connection attempt was initiated unsuccessfully


metadata

metadata: Metadata

When the remote connection emits a metadata event


resumed

resumed: void

When a previous session has been resumed


server wallclock time

server wallclock time: number

When the remote connection receives a server wallclock time event