다음을 통해 공유


Radio.StateChanged 이벤트

정의

이 개체가 나타내는 라디오의 상태 변경으로 인해 발생한 이벤트입니다. USB Bluetooth 라디오가 제거되거나 오프라인 상태가 되면 상태 변경이 보고되지 않습니다.

// Register
event_token StateChanged(TypedEventHandler<Radio, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
Radio::StateChanged_revoker StateChanged(auto_revoke_t, TypedEventHandler<Radio, IInspectable const&> const& handler) const;
public event TypedEventHandler<Radio,object> StateChanged;
function onStateChanged(eventArgs) { /* Your code */ }
radio.addEventListener("statechanged", onStateChanged);
radio.removeEventListener("statechanged", onStateChanged);
- or -
radio.onstatechanged = onStateChanged;
Public Custom Event StateChanged As TypedEventHandler(Of Radio, Object) 

이벤트 유형

적용 대상