|
plv player sdk doc
|
Typedefs | |
| typedef void(* | OnDetectSoftwareRecordingHandler) (SOFTWARE_RECORDING_NOTIFY_TYPE type, const char *softwares, void *data) |
| for detect softward recording callback. | |
| typedef void(* | OnDetectHardwareRecordingHandler) (DEVICE_CHANGED_TYPE type, const char *device, void *data) |
| for detect device recording callback. | |
Functions | |
| PLAYERSDK_API int PLAYERSDK_CALL | PLVSetPreventSoftwareRecording (void *window, bool enable) |
| for prevent screen recording or screenshot. | |
| PLAYERSDK_API int PLAYERSDK_CALL | PLVGetPreventSoftwareRecording (void *window, bool *enable) |
| for prevent screen recording or screenshot. | |
| PLAYERSDK_API int PLAYERSDK_CALL | PLVSetDetectSoftwareRecordingHandler (bool enable, OnDetectSoftwareRecordingHandler handler, void *data) |
| for detect software recording your screen or window. | |
| PLAYERSDK_API int PLAYERSDK_CALL | PLVSetDetectHardwareRecordingHandler (bool enable, OnDetectHardwareRecordingHandler handler, void *data) |
| for detect device changed callback. | |
| PLAYERSDK_API int PLAYERSDK_CALL | PLVDetectVM () |
| for detect virtual machine environment. | |
| typedef void(* OnDetectHardwareRecordingHandler) (DEVICE_CHANGED_TYPE type, const char *device, void *data) |
for detect device recording callback.
| [out] | type | for device changed type. |
| [out] | device | for device info. |
| [out] | data | user context data. |
Definition at line 287 of file plv-player-core.h.
| typedef void(* OnDetectSoftwareRecordingHandler) (SOFTWARE_RECORDING_NOTIFY_TYPE type, const char *softwares, void *data) |
for detect softward recording callback.
| [out] | type | for software recording notify type. |
| [out] | software | for software names, eg: QQ,TeamViewer. |
| [out] | data | user context. |
Definition at line 258 of file plv-player-core.h.
| PLAYERSDK_API int PLAYERSDK_CALL PLVDetectVM | ( | ) |
for detect virtual machine environment.
| PLAYERSDK_API int PLAYERSDK_CALL PLVGetPreventSoftwareRecording | ( | void * | window, |
| bool * | enable ) |
for prevent screen recording or screenshot.
| window | window handle. | |
| [out] | enable | to prevent or not. |
| PLAYERSDK_API int PLAYERSDK_CALL PLVSetDetectHardwareRecordingHandler | ( | bool | enable, |
| OnDetectHardwareRecordingHandler | handler, | ||
| void * | data ) |
for detect device changed callback.
| enable | for check to callback or not. |
| handler | callback function. |
| data | user context data. |
| PLAYERSDK_API int PLAYERSDK_CALL PLVSetDetectSoftwareRecordingHandler | ( | bool | enable, |
| OnDetectSoftwareRecordingHandler | handler, | ||
| void * | data ) |
for detect software recording your screen or window.
| enable | for check to callback or not. |
| handler | callback function. |
| data | user context data. |
| PLAYERSDK_API int PLAYERSDK_CALL PLVSetPreventSoftwareRecording | ( | void * | window, |
| bool | enable ) |
for prevent screen recording or screenshot.
| window | window handle. |
| enable | switch prevent screen recording. |