Udostępnij za pośrednictwem


VideoProfile.CameraCapabilities Constructors

Definition

Overloads

VideoProfile.CameraCapabilities(Int32, Int32)

Create a call camera capabilities instance.

VideoProfile.CameraCapabilities(Int32, Int32, Boolean, Single)

Create a call camera capabilities instance that optionally supports zoom.

VideoProfile.CameraCapabilities(Int32, Int32)

Create a call camera capabilities instance.

[Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=23)]
public CameraCapabilities (int width, int height);
[<Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=23)>]
new Android.Telecom.VideoProfile.CameraCapabilities : int * int -> Android.Telecom.VideoProfile.CameraCapabilities

Parameters

width
Int32

The width of the camera video (in pixels).

height
Int32

The height of the camera video (in pixels).

Attributes

Remarks

Create a call camera capabilities instance.

Java documentation for android.telecom.VideoProfile.CameraCapabilities.VideoProfile$CameraCapabilities(int, int).

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

VideoProfile.CameraCapabilities(Int32, Int32, Boolean, Single)

Create a call camera capabilities instance that optionally supports zoom.

[Android.Runtime.Register(".ctor", "(IIZF)V", "", ApiSince=29)]
public CameraCapabilities (int width, int height, bool zoomSupported, float maxZoom);
[<Android.Runtime.Register(".ctor", "(IIZF)V", "", ApiSince=29)>]
new Android.Telecom.VideoProfile.CameraCapabilities : int * int * bool * single -> Android.Telecom.VideoProfile.CameraCapabilities

Parameters

width
Int32

The width of the camera video (in pixels).

height
Int32

The height of the camera video (in pixels).

zoomSupported
Boolean

True when camera supports zoom.

maxZoom
Single

Maximum zoom supported by camera.

Attributes

Remarks

Create a call camera capabilities instance that optionally supports zoom.

Java documentation for android.telecom.VideoProfile.CameraCapabilities.VideoProfile$CameraCapabilities(int, int, boolean, 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