disableScreenShare

suspend fun disableScreenShare()

Stops sharing the screen and stops the foreground service that backed the share.

Events:

See also

Throws

code 3054 (ERROR_ALREADY_IN_REQUESTED_STATE) if nothing is being shared, or code 3055 (ERROR_OPERATION_IN_PROGRESS) while a share enable or disable is still running; a share in progress is left as it is.