Compartilhar via


Connection.VideoProvider.OnSetZoom(Single) Method

Definition

Sets the camera zoom ratio.

[Android.Runtime.Register("onSetZoom", "(F)V", "GetOnSetZoom_FHandler", ApiSince=23)]
public abstract void OnSetZoom (float value);
[<Android.Runtime.Register("onSetZoom", "(F)V", "GetOnSetZoom_FHandler", ApiSince=23)>]
abstract member OnSetZoom : single -> unit

Parameters

value
Single

The camera zoom ratio; for the current camera, should be a value in the range defined by android.hardware.camera2.CameraCharacteristics#CONTROL_ZOOM_RATIO_RANGE.

Attributes

Remarks

Sets the camera zoom ratio.

Sent from the InCallService via InCallService.VideoCall#setZoom(float).

Java documentation for android.telecom.Connection.VideoProvider.onSetZoom(float).

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.

Applies to