#include <cafe/os.h> BOOL OSSetScreenCapturePermission(BOOL enabled);
|enabled||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) is set before a process starts and only changes state when this API is called. When set to
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.
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
OSSetScreenCapturePermission(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.|
2013/05/08 Automated cleanup pass.
2012/08/17 Initial version.