CastingDevicePicker.CastingDeviceSelected イベント
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ユーザーがピッカーからデバイスを選択したことを示します。
// 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)