Share via


InCallService.VideoCall.SetZoom(Single) Method

Definition

Sets the camera zoom ratio.

[Android.Runtime.Register("setZoom", "(F)V", "GetSetZoom_FHandler", ApiSince=23)]
public abstract void SetZoom (float value);
[<Android.Runtime.Register("setZoom", "(F)V", "GetSetZoom_FHandler", ApiSince=23)>]
abstract member SetZoom : 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.

Handled by Connection.VideoProvider#onSetZoom(float).

Java documentation for android.telecom.InCallService.VideoCall.setZoom(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