MiracastReceiverCursorImageChannel.ImageStreamChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An event which is raised when the image stream bitmap has changed.
// Register
event_token ImageStreamChanged(TypedEventHandler<MiracastReceiverCursorImageChannel, IInspectable const&> const& handler) const;
// Revoke with event_token
void ImageStreamChanged(event_token const* cookie) const;
// Revoke with event_revoker
MiracastReceiverCursorImageChannel::ImageStreamChanged_revoker ImageStreamChanged(auto_revoke_t, TypedEventHandler<MiracastReceiverCursorImageChannel, IInspectable const&> const& handler) const;
public event TypedEventHandler<MiracastReceiverCursorImageChannel,object> ImageStreamChanged;
function onImageStreamChanged(eventArgs) { /* Your code */ }
miracastReceiverCursorImageChannel.addEventListener("imagestreamchanged", onImageStreamChanged);
miracastReceiverCursorImageChannel.removeEventListener("imagestreamchanged", onImageStreamChanged);
- or -
miracastReceiverCursorImageChannel.onimagestreamchanged = onImageStreamChanged;
Public Custom Event ImageStreamChanged As TypedEventHandler(Of MiracastReceiverCursorImageChannel, Object)
Event Type
TypedEventHandler<MiracastReceiverCursorImageChannel,Object>
TypedEventHandler<MiracastReceiverCursorImageChannel,IInspectable>
Remarks
Use the ImageStream property to retrieve the latest image stream bitmap.