Android APIs
public static final class

VideoProfile.CameraCapabilities

extends Object
implements Parcelable
java.lang.Object
   ↳ android.telecom.VideoProfile.CameraCapabilities

Class Overview

Represents the camera capabilities important to a Video Telephony provider.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<VideoProfile.CameraCapabilities> CREATOR Responsible for creating CallCameraCapabilities objects from deserialized Parcels.
Public Constructors
VideoProfile.CameraCapabilities(int width, int height)
Create a call camera capabilities instance.
Public Methods
int describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
int getHeight()
The height of the camera video in pixels.
int getWidth()
The width of the camera video in pixels.
void writeToParcel(Parcel dest, int flags)
Flatten this object in to a Parcel.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<VideoProfile.CameraCapabilities> CREATOR

Added in API level 23

Responsible for creating CallCameraCapabilities objects from deserialized Parcels.

Public Constructors

public VideoProfile.CameraCapabilities (int width, int height)

Added in API level 23

Create a call camera capabilities instance.

Parameters
width The width of the camera video (in pixels).
height The height of the camera video (in pixels).

Public Methods

public int describeContents ()

Added in API level 23

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

Returns
  • a bitmask indicating the set of special object types marshalled by the Parcelable.

public int getHeight ()

Added in API level 23

The height of the camera video in pixels.

public int getWidth ()

Added in API level 23

The width of the camera video in pixels.

public void writeToParcel (Parcel dest, int flags)

Added in API level 23

Flatten this object in to a Parcel.

Parameters
dest The Parcel in which the object should be written.
flags Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE.