다음을 통해 공유


CastingDevicePicker.CastingDeviceSelected 이벤트

정의

사용자가 선택기에서 디바이스를 선택했음을 나타냅니다.

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

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

// Revoke with event_revoker
CastingDevicePicker::CastingDeviceSelected_revoker CastingDeviceSelected(auto_revoke_t, TypedEventHandler<CastingDevicePicker, CastingDeviceSelectedEventArgs const&> const& handler) const;
public event TypedEventHandler<CastingDevicePicker,CastingDeviceSelectedEventArgs> CastingDeviceSelected;
function onCastingDeviceSelected(eventArgs) { /* Your code */ }
castingDevicePicker.addEventListener("castingdeviceselected", onCastingDeviceSelected);
castingDevicePicker.removeEventListener("castingdeviceselected", onCastingDeviceSelected);
- or -
castingDevicePicker.oncastingdeviceselected = onCastingDeviceSelected;
Public Custom Event CastingDeviceSelected As TypedEventHandler(Of CastingDevicePicker, CastingDeviceSelectedEventArgs) 

이벤트 유형

적용 대상