Package com.teamviewer.sdk.screensharing
Interface AccessControlData
public interface AccessControlData
This interface provides the
callback
and more information about the
AccessControl
.-
Method Summary
Modifier and TypeMethodDescriptionlong
void
registerForRequestTimedOut
(Runnable callback) Registers a callback which triggers once the request's timeout has exceeded.
If the request has no timeout the callback will never be called.
-
Method Details
-
getCallback
AccessControlResult getCallback()- Returns:
- The callback to either accept or deny the access control request.
-
getAccessType
AccessType getAccessType()- Returns:
- The type of access which the remote supporter asked for.
-
getRemainingTimeout
long getRemainingTimeout()- Returns:
- The remaining time of the request's timeout in milliseconds.
A negative value means there is no timeout.
-
registerForRequestTimedOut
Registers a callback which triggers once the request's timeout has exceeded.
If the request has no timeout the callback will never be called.- Parameters:
callback
- The Runnable to handle the callback. This value may benull
.
-