This interface is deprecated.
Video recording using Play Games Services will be disabled for Android SDK levels greater
than 32.
A client to interact with videos.
| @interface | VideosClient.CaptureOverlayState | Capture overlay states. | |
| interface | VideosClient.OnCaptureOverlayStateListener | This interface is deprecated. Video recording using Play Games Services will be disabled for Android SDK levels greater than 32. | |
| int | CAPTURE_OVERLAY_STATE_CAPTURE_STARTED | State used to indicate that the user has initiated capture via the capture overlay. |
| int | CAPTURE_OVERLAY_STATE_CAPTURE_STOPPED | State used to indicate that the user has stopped capturing via the capture overlay. |
| int | CAPTURE_OVERLAY_STATE_DISMISSED | State used to indicate that the user has dismissed the capture overlay and it is no longer visible. |
| int | CAPTURE_OVERLAY_STATE_SHOWN | State used to indicate that the capture overlay is drawn on the screen and visible to the user. |
| abstract Task<VideoCapabilities> |
getCaptureCapabilities()
This method is deprecated. Video recording using Play Games Services will
be disabled for Android SDK levels greater than 32.
|
| abstract Task<Intent> |
getCaptureOverlayIntent()
This method is deprecated. Video recording using Play Games Services will
be disabled for Android SDK levels greater than 32.
|
| abstract Task<CaptureState> |
getCaptureState()
This method is deprecated. Video recording using Play Games Services will
be disabled for Android SDK levels greater than 32.
|
| abstract Task<Boolean> |
isCaptureAvailable(int captureMode)
This method is deprecated. Video recording using Play Games Services will
be disabled for Android SDK levels greater than 32.
|
| abstract Task<Boolean> |
isCaptureSupported()
This method is deprecated. Video recording using Play Games Services will
be disabled for Android SDK levels greater than 32.
|
| abstract Task<Void> |
registerOnCaptureOverlayStateChangedListener(VideosClient.OnCaptureOverlayStateListener
listener)
This method is deprecated. Video recording using Play Games Services will
be disabled for Android SDK levels greater than 32.
|
| abstract Task<Boolean> |
unregisterOnCaptureOverlayStateChangedListener(VideosClient.OnCaptureOverlayStateListener
listener)
This method is deprecated. Video recording using Play Games Services will
be disabled for Android SDK levels greater than 32.
|
State used to indicate that the user has initiated capture via the capture overlay.
State used to indicate that the user has stopped capturing via the capture overlay.
State used to indicate that the user has dismissed the capture overlay and it is no longer visible.
State used to indicate that the capture overlay is drawn on the screen and visible to the user.
This method is deprecated.
Video recording using Play Games Services will be disabled for Android SDK levels greater
than 32.
Returns a Task which
asynchronously fetches the VideoCapabilities
of the service, whether the mic or front-facing camera are supported, if the service
can write to external storage, and what capture modes and quality levels are
available.
This method is deprecated.
Video recording using Play Games Services will be disabled for Android SDK levels greater
than 32.
Returns a Task which
asynchronously loads an Intent to
launch the capture overlay. This will automatically handle any necessary resolution
intents.
The returned Task can fail with a RemoteException.
This method is deprecated.
Video recording using Play Games Services will be disabled for Android SDK levels greater
than 32.
Returns a Task which
asynchronously fetches the current CaptureState
of the capture service. This will inform about whether the capture overlay is visible,
if the overlay is actively being used to capture, and a much more. See CaptureState
for more details.
This method is deprecated.
Video recording using Play Games Services will be disabled for Android SDK levels greater
than 32.
Returns a Task which
asynchronously fetches whether the capture service is already in use. Use this call to
check if a start capture API call will return
GamesClientStatusCodes.VIDEO_ALREADY_CAPTURING. If the Task
result is true, then it's safe to start capturing. If it's already in use
then the result is false.
Do not use this call to check if capture is supported, instead use
isCaptureSupported() or
getCaptureCapabilities().
| captureMode | The mode to check availability of. Valid choices are
VideoConfiguration.CAPTURE_MODE_FILE and
VideoConfiguration.CAPTURE_MODE_STREAM. |
|---|
This method is deprecated.
Video recording using Play Games Services will be disabled for Android SDK levels greater
than 32.
Returns a Task which
asynchronously checks whether the device supports capture. If the Task
result is true then capture is supported.
This method is deprecated.
Video recording using Play Games Services will be disabled for Android SDK levels greater
than 32.
Returns a Task which
asynchronously registers a
VideosClient.OnCaptureOverlayStateListener to listen for changes to the
overlay state launched by
getCaptureOverlayIntent().
Note that only one overlay state listener may be active at a time. Calling this method while another overlay state listener was previously registered will replace the original listener with the new one.
| listener | The listener that is called when the overlay state changes. |
|---|
This method is deprecated.
Video recording using Play Games Services will be disabled for Android SDK levels greater
than 32.
Returns a Task which
asynchronously unregisters this client's overlay state update listener, if any, and
loads the result. The result will be true if the callback was unregistered
and false if this callback wasn't registered previously or is already
unregistered.