CastingDevicePicker.CastingDeviceSelected CastingDevicePicker.CastingDeviceSelected CastingDevicePicker.CastingDeviceSelected CastingDevicePicker.CastingDeviceSelected CastingDevicePicker.CastingDeviceSelected Event

Definition

Indicates that the user has selected a device from the picker.

public : event TypedEventHandler<CastingDevicePicker, CastingDeviceSelectedEventArgs> CastingDeviceSelected
// Register
event_token CastingDeviceSelected(TypedEventHandler<CastingDevicePicker, CastingDeviceSelectedEventArgs> const& handler) const;

// Revoke with event_token
void CastingDeviceSelected(event_token const& cookie) const;

// Revoke with event_revoker
CastingDeviceSelected_revoker CastingDeviceSelected(auto_revoke_t, TypedEventHandler<CastingDevicePicker, CastingDeviceSelectedEventArgs> const& handler) const;
public event TypedEventHandler<CastingDevicePicker, CastingDeviceSelectedEventArgs> CastingDeviceSelected
Public Event CastingDeviceSelected As TypedEventHandler (Of CastingDevicePicker, CastingDeviceSelectedEventArgs)
function onCastingDeviceSelected(eventArgs){/* Your code */}


castingDevicePicker.addEventListener("castingdeviceselected", onCastingDeviceSelected);
castingDevicePicker.removeEventListener("castingdeviceselected", onCastingDeviceSelected);