#include <cafe/os.h> BOOL OSSetScreenCapturePermissionEx(BOOL tvEnabled, BOOL drcEnabled);
|tvEnabled||When set to
When set to
|drcEnabled||When set to
When set to
Returns the previous screen capture permission setting.
This API sets a flag that indicates whether the last rendered frame that is in memory after foreground release can be used by another application. The default state (
TRUE, TRUE) is set before a process starts and only changes state when this API is called. When set to
FALSE, the system continues to use the last rendered frame for UI blending, but does not allow the frame to be used by an online service.
This particular version of the API makes a distinction between the TV and DRC regarding permissions. If only one is
TRUE, the combined permission (i.e. from
For example, a streaming video application may not want to allow frames from a video to be shared as part of an online message post. In this case, the streaming video application may call
OSSetScreenCapturePermissionEx(FALSE, FALSE) to inform system applications that the last frame from the video application may not be used as part of an online service.
|Background||Do not call this function from the background.|
2014/03/03 Initial version.