Compartilhar via


XAppBroadcastMonitorCallback

Developer defined callback function for XAppBroadcastRegisterIsAppBroadcastingChanged. The function set here will be called each time the broadcast status changes.

Syntax

void XAppBroadcastMonitorCallback(  
         void* context  
)  

Parameters

context   _In_
Type: void*

Context for the calling object, used to pass relevant information into the callback function.

Return value

Type: void

Remarks

Setting this callback function will allow you to check for the start or end of a broadcast. This allows developers to change behaviors like network activity in the event of an ongoing broadcast. Parameter for XAppBroadcastRegisterIsAppBroadcastingChanged.

Requirements

Header: XAppCapture.h

Library: xgameruntime.lib

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

GameDVR Overview
XAppCapture Members
XAppBroadcastRegisterIsAppBroadcastingChanged