> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XAppBroadcastMonitorCallback

> XAppBroadcastMonitorCallback

# XAppBroadcastMonitorCallback

Developer defined callback function for [XAppBroadcastRegisterIsAppBroadcastingChanged](/reference/system/xappcapture/functions/xappbroadcastregisterisappbroadcastingchanged). The function set here will be called each time the broadcast status changes.

## Syntax

```cpp theme={null}
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](/reference/system/xappcapture/functions/xappbroadcastregisterisappbroadcastingchanged).

## Requirements

**Header:** XAppCapture.h

**Library:** xgameruntime.lib

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[GameDVR Overview](/build/console-features/game-dvr/gamedvr-broadcast)\
[XAppCapture Members](/reference/system/xappcapture/xappcapture_members)\
[XAppBroadcastRegisterIsAppBroadcastingChanged](/reference/system/xappcapture/functions/xappbroadcastregisterisappbroadcastingchanged)


## Related topics

- [XAppBroadcastUnregisterIsAppBroadcastingChanged](/reference/system/xappcapture/functions/xappbroadcastunregisterisappbroadcastingchanged.md)
- [XAppBroadcastRegisterIsAppBroadcastingChanged](/reference/system/xappcapture/functions/xappbroadcastregisterisappbroadcastingchanged.md)
- [XAppCapture](/reference/system/xappcapture/xappcapture_members.md)
- [XAppBroadcastIsAppBroadcasting](/reference/system/xappcapture/functions/xappbroadcastisappbroadcasting.md)
- [XTaskQueueRegistrationToken](/reference/system/xtaskqueue/structs/xtaskqueueregistrationtoken.md)
