AppBroadcastBackgroundService.BroadcastTitleChanged 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当 BroadcastTitle 属性的值更改时发生。
// 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)
事件类型
TypedEventHandler<AppBroadcastBackgroundService,IInspectable>
Windows 要求
设备系列 |
Windows Desktop Extension SDK (在 10.0.16299.0 中引入)
|
API contract |
Windows.Media.Capture.AppBroadcastContract (在 v2.0 中引入)
|