AppBroadcastBackgroundService.BroadcastChannelChanged 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.
Occurs when the value of the BroadcastChannel property changes.
// Register
event_token BroadcastChannelChanged(TypedEventHandler<AppBroadcastBackgroundService, IInspectable const&> const& handler) const;
// Revoke with event_token
void BroadcastChannelChanged(event_token const* cookie) const;
// Revoke with event_revoker
AppBroadcastBackgroundService::BroadcastChannelChanged_revoker BroadcastChannelChanged(auto_revoke_t, TypedEventHandler<AppBroadcastBackgroundService, IInspectable const&> const& handler) const;
public event TypedEventHandler<AppBroadcastBackgroundService,object> BroadcastChannelChanged;
function onBroadcastChannelChanged(eventArgs) { /* Your code */ }
appBroadcastBackgroundService.addEventListener("broadcastchannelchanged", onBroadcastChannelChanged);
appBroadcastBackgroundService.removeEventListener("broadcastchannelchanged", onBroadcastChannelChanged);
- or -
appBroadcastBackgroundService.onbroadcastchannelchanged = onBroadcastChannelChanged;
Public Custom Event BroadcastChannelChanged As TypedEventHandler(Of AppBroadcastBackgroundService, Object)
Event Type
TypedEventHandler<AppBroadcastBackgroundService,IInspectable>
Windows requirements
Device family |
Windows Desktop Extension SDK (introduced in 10.0.16299.0)
|
API contract |
Windows.Media.Capture.AppBroadcastContract (introduced in v2.0)
|
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro