GattLocalDescriptor.WriteRequested 이벤트

정의

쓰기가 요청되었을 때 트리거되는 이벤트입니다.

// Register
event_token WriteRequested(TypedEventHandler<GattLocalDescriptor, GattWriteRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
GattLocalDescriptor::WriteRequested_revoker WriteRequested(auto_revoke_t, TypedEventHandler<GattLocalDescriptor, GattWriteRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<GattLocalDescriptor,GattWriteRequestedEventArgs> WriteRequested;
function onWriteRequested(eventArgs) { /* Your code */ }
gattLocalDescriptor.addEventListener("writerequested", onWriteRequested);
gattLocalDescriptor.removeEventListener("writerequested", onWriteRequested);
- or -
gattLocalDescriptor.onwriterequested = onWriteRequested;
Public Custom Event WriteRequested As TypedEventHandler(Of GattLocalDescriptor, GattWriteRequestedEventArgs) 

이벤트 유형

Windows 요구 사항

앱 기능
bluetooth

적용 대상