CameraCaptureSession.SupportsOfflineProcessing(Surface) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Query whether a given Surface is able to support offline mode.
[Android.Runtime.Register("supportsOfflineProcessing", "(Landroid/view/Surface;)Z", "GetSupportsOfflineProcessing_Landroid_view_Surface_Handler", ApiSince=30)]
public virtual bool SupportsOfflineProcessing (Android.Views.Surface surface);
[<Android.Runtime.Register("supportsOfflineProcessing", "(Landroid/view/Surface;)Z", "GetSupportsOfflineProcessing_Landroid_view_Surface_Handler", ApiSince=30)>]
abstract member SupportsOfflineProcessing : Android.Views.Surface -> bool
override this.SupportsOfflineProcessing : Android.Views.Surface -> bool
Parameters
- surface
- Surface
An input/output surface that was used to create this session or the result of
#getInputSurface
.
Returns
true
if the surface can support offline mode and can be passed as argument to
#switchToOffline
. false
otherwise.
- Attributes
Remarks
Query whether a given Surface is able to support offline mode.
Surfaces that support offline mode can be passed as arguments to #switchToOffline
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.