Share via


MiracastReceiverCursorImageChannel.ImageStreamChanged Event

Definition

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

Remarks

Use the ImageStream property to retrieve the latest image stream bitmap.

Applies to

See also