| java.lang.Object | |
| ↳ | android.telecom.RemoteConnection.VideoProvider |
RemoteConnection.VideoProvider associated with a RemoteConnection. Used to
receive video related events and control the video associated with a
RemoteConnection.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| RemoteConnection.VideoProvider.Callback |
Callback class used by the RemoteConnection.VideoProvider to relay events from
the Connection.VideoProvider.
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Registers a callback to receive commands and state changes for video calls.
| |||||||||||
Issues a request to retrieve the data usage (in bytes) of the video portion of the
RemoteConnection for the RemoteConnection.VideoProvider.
| |||||||||||
Issues a request to retrieve the capabilities of the current camera for the
RemoteConnection.VideoProvider.
| |||||||||||
Issues a request to modify the properties of the current video session for the
RemoteConnection.VideoProvider.
| |||||||||||
Provides a response to a request to change the current call video session
properties for the
RemoteConnection.VideoProvider.
| |||||||||||
Sets the camera to be used for the outgoing video for the
RemoteConnection.VideoProvider.
| |||||||||||
Sets the device orientation, in degrees, for the
RemoteConnection.VideoProvider.
| |||||||||||
Sets the surface to be used for displaying the video received from the remote device for
the
RemoteConnection.VideoProvider.
| |||||||||||
Sets the
Uri of an image to be displayed to the peer device when the video signal
is paused, for the RemoteConnection.VideoProvider.
| |||||||||||
Sets the surface to be used for displaying a preview of what the user's camera is
currently capturing for the
RemoteConnection.VideoProvider.
| |||||||||||
Sets camera zoom ratio for the
RemoteConnection.VideoProvider.
| |||||||||||
Clears the video call callback set via
registerCallback(RemoteConnection.VideoProvider.Callback).
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Registers a callback to receive commands and state changes for video calls.
| l | The video call callback. |
|---|
Issues a request to retrieve the data usage (in bytes) of the video portion of the
RemoteConnection for the RemoteConnection.VideoProvider.
Issues a request to retrieve the capabilities of the current camera for the
RemoteConnection.VideoProvider.
Issues a request to modify the properties of the current video session for the
RemoteConnection.VideoProvider.
| fromProfile | The video profile prior to the request. |
|---|---|
| toProfile | The video profile with the requested changes made. |
Provides a response to a request to change the current call video session
properties for the RemoteConnection.VideoProvider.
| responseProfile | The response call video properties. |
|---|
Sets the camera to be used for the outgoing video for the
RemoteConnection.VideoProvider.
| cameraId | The id of the camera (use ids as reported by
getCameraIdList()). |
|---|
Sets the device orientation, in degrees, for the RemoteConnection.VideoProvider.
Assumes that a standard portrait orientation of the device is 0 degrees.
| rotation | The device orientation, in degrees. |
|---|
Sets the surface to be used for displaying the video received from the remote device for
the RemoteConnection.VideoProvider.
| surface | The Surface. |
|---|
Sets the Uri of an image to be displayed to the peer device when the video signal
is paused, for the RemoteConnection.VideoProvider.
Sets the surface to be used for displaying a preview of what the user's camera is
currently capturing for the RemoteConnection.VideoProvider.
| surface | The Surface. |
|---|
Sets camera zoom ratio for the RemoteConnection.VideoProvider.
| value | The camera zoom ratio. |
|---|
Clears the video call callback set via registerCallback(RemoteConnection.VideoProvider.Callback).
| l | The video call callback to clear. |
|---|