Edit

Share via


ContextualSearchBroadcast Class

Definition

Contains information about a contextual search broadcast.

[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class ContextualSearchBroadcast
type ContextualSearchBroadcast = class
    interface __IContextualSearchBroadcastPublicNonVirtuals
Public NotInheritable Class ContextualSearchBroadcast
Inheritance
ContextualSearchBroadcast
Attributes
Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.VersionAttribute

Properties

BroadcasterIdFromProvider

The identifier of the broadcaster on the provider. This is leveraged to created deeplinks to the broadcast.
In the example of Twitch, this is the Twitch user id.

CurrentStats

The current stats the title has configured for Contextual Search and what their current values are.
Additional information on how to surface the information is contained in the configuration handler.

Provider

Returns the broadcast provider, for example "Twitch". This is leveraged to enable differing logic to handle content from different providers

StartedDate

The date value of when the broadcast started

Viewers

The current number of viewers in the broadcast, per the last update from Presence.

XboxUserId

The Xbox user ID of the player.

Applies to