Partager via


XAppBroadcastIsAppBroadcasting

Determines whether the app is currently broadcasting.

Syntax

bool XAppBroadcastIsAppBroadcasting(  
)  

Parameters

Return value

Type: bool

Returns true if the app is broadcasting.

Remarks

Note

This function isn't safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.

Call this function to determine whether or not the current app is broadcasting. This could be called after showing the user the broadcast UI with XAppBroadcastShowUI. If you expect that the app should be broadcasting and is not you may want to check the broadcast status to see if there is a blocking issue. YOu can do this by calling XAppBroadcastGetStatus.

Requirements

Header: XAppCapture.h

Library: xgameruntime.lib

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

See also

GameDVR Overview
XAppCapture Members
XAppBroadcastShowUI
XAppBroadcastGetStatus