Udostępnij za pośrednictwem


AppBroadcastBackgroundService.BroadcastChannel Property

Definition

Gets a string containing the name of the current broadcast channel.

public:
 property Platform::String ^ BroadcastChannel { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring BroadcastChannel();

void BroadcastChannel(winrt::hstring value);
public string BroadcastChannel { get; set; }
var string = appBroadcastBackgroundService.broadcastChannel;
appBroadcastBackgroundService.broadcastChannel = string;
Public Property BroadcastChannel As String

Property Value

String

Platform::String

winrt::hstring

A string containing the name of the current broadcast channel.

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