Share via


AppBroadcastBackgroundService.BroadcastTitleChanged Event

Definition

Occurs when the value of the BroadcastTitle property changes.

// Register
event_token BroadcastTitleChanged(TypedEventHandler<AppBroadcastBackgroundService, IInspectable const&> const& handler) const;

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

// Revoke with event_revoker
AppBroadcastBackgroundService::BroadcastTitleChanged_revoker BroadcastTitleChanged(auto_revoke_t, TypedEventHandler<AppBroadcastBackgroundService, IInspectable const&> const& handler) const;
public event TypedEventHandler<AppBroadcastBackgroundService,object> BroadcastTitleChanged;
function onBroadcastTitleChanged(eventArgs) { /* Your code */ }
appBroadcastBackgroundService.addEventListener("broadcasttitlechanged", onBroadcastTitleChanged);
appBroadcastBackgroundService.removeEventListener("broadcasttitlechanged", onBroadcastTitleChanged);
- or -
appBroadcastBackgroundService.onbroadcasttitlechanged = onBroadcastTitleChanged;
Public Custom Event BroadcastTitleChanged As TypedEventHandler(Of AppBroadcastBackgroundService, Object) 

Event Type

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