> ## 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.

# XAppBroadcastShowUI

> XAppBroadcastShowUI

# XAppBroadcastShowUI

Show broadcast UI to app user so that they may start broadcasting activity.

## Syntax

```cpp theme={null}
HRESULT XAppBroadcastShowUI(  
         XUserHandle requestingUser  
)  
```

### Parameters

*requestingUser*   \_In\_\
Type: XUserHandle

The user that the broadcast UI will appear for.

### Return value

Type: HRESULT

Function result.

## Remarks

<Note>This function isn't safe to call on a time-sensitive thread. For more information, see [Time-sensitive threads](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads).</Note>

This function does not start a broadcast on its own, it merely shows the User the UI that they would need to navigate in order to begin a broadcast.\
You can verify that a broadcast was started by the occurrence of a broadcast status change event or by checking the broadcast status with [XAppBroadcastIsAppBroadcasting](/reference/system/xappcapture/functions/xappbroadcastisappbroadcasting). Before calling this function you should also call [XAppBroadcastGetStatus](/reference/system/xappcapture/functions/xappbroadcastgetstatus) to check whether or not a user is capable of starting a broadcast.

## Requirements

**Header:** XAppCapture.h

**Library:** xgameruntime.lib

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

## Conceptual documentation

* [Time-sensitive threads](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)

## See also

[GameDVR Overview](/build/console-features/game-dvr/gamedvr-broadcast)\
[XAppCapture Members](/reference/system/xappcapture/xappcapture_members)\
[XAppBroadcastIsAppBroadcasting](/reference/system/xappcapture/functions/xappbroadcastisappbroadcasting)\
[XAppBroadcastGetStatus](/reference/system/xappcapture/functions/xappbroadcastgetstatus)


## Related topics

- [XAppBroadcastIsAppBroadcasting](/reference/system/xappcapture/functions/xappbroadcastisappbroadcasting.md)
- [XAppBroadcastGetStatus](/reference/system/xappcapture/functions/xappbroadcastgetstatus.md)
- [Game DVR and broadcasting](/build/console-features/game-dvr/gamedvr-broadcast.md)
- [XAppCapture](/reference/system/xappcapture/xappcapture_members.md)
- [Unity C# API wrappers for the GDK](/build/gdk-and-engines/unity/unity-api-wrappers.md)
