Following the deprecation of the Google Sign-In API, we are removing the games v1 SDK in 2026. After February 2025, you will be unable to publish titles that are newly integrated with games v1 SDK, on Google Play. We recommend that you use the games v2 SDK instead.
While existing titles with the previous games v1 integrations continue to function for a couple of years, you are encouraged to migrate to v2 starting June 2025.
Videos.CaptureStateResult
Inherited Method Summary
From interface com.google.android.gms.common.api.Result
Public Methods
public abstract CaptureState
getCaptureState ()
Returns the current state of the capture service.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-24 UTC.
[null,null,["Last updated 2025-01-24 UTC."],[[["`Videos.CaptureStateResult` is deprecated and provides information about the state of video capture."],["It returns the current capture state through `getCaptureState()` and includes possible status codes for success, unsupported devices, and errors."],["Devices below Android Lollipop will always receive an unsupported status code."],["The interface inherits the `getStatus()` method from `com.google.android.gms.common.api.Result` to provide overall status information."]]],["The `Videos.CaptureStateResult` interface, now deprecated, delivers the capture state via the `getCaptureState()` method, which returns a `CaptureState` object. This result is now delivered directly in `VideosClient`. The status of the capture operation is indicated by status codes, including `STATUS_OK` for successful stops, `STATUS_VIDEO_UNSUPPORTED` for unsupported devices, and `STATUS_INTERNAL_ERROR` for service errors. This interface also implements `Result` and can get the current `Status`.\n"]]