Callback
abstract class Callback
| kotlin.Any | |
| ↳ | android.telecom.RemoteConnection.VideoProvider.Callback | 
Callback class used by the RemoteConnection.VideoProvider to relay events from the Connection.VideoProvider.
Summary
| Public constructors | |
|---|---|
            Callback() | 
        |
| Public methods | |
|---|---|
| open Unit | 
            onCallDataUsageChanged(videoProvider: RemoteConnection.VideoProvider!, dataUsage: Long)Reports a change in the data usage (in bytes) received from the   | 
        
| open Unit | 
            onCallSessionEvent(videoProvider: RemoteConnection.VideoProvider!, event: Int)Reports a call session event received from the   | 
        
| open Unit | 
            onCameraCapabilitiesChanged(videoProvider: RemoteConnection.VideoProvider!, cameraCapabilities: VideoProfile.CameraCapabilities!)Reports a change in the capabilities of the current camera, received from the   | 
        
| open Unit | 
            onPeerDimensionsChanged(videoProvider: RemoteConnection.VideoProvider!, width: Int, height: Int)Reports a change in the peer video dimensions received from the   | 
        
| open Unit | 
            onSessionModifyRequestReceived(videoProvider: RemoteConnection.VideoProvider!, videoProfile: VideoProfile!)Reports a session modification request received from the   | 
        
| open Unit | 
            onSessionModifyResponseReceived(videoProvider: RemoteConnection.VideoProvider!, status: Int, requestedProfile: VideoProfile!, responseProfile: VideoProfile!)Reports a session modification response received from the   | 
        
| open Unit | 
            onVideoQualityChanged(videoProvider: RemoteConnection.VideoProvider!, videoQuality: Int)Reports a change in the video quality received from the   | 
        
Public constructors
Callback
Callback()
Public methods
onCallDataUsageChanged
open fun onCallDataUsageChanged(
videoProvider: RemoteConnection.VideoProvider!,
dataUsage: Long
): Unit
Reports a change in the data usage (in bytes) received from the Connection.VideoProvider associated with a RemoteConnection.
| Parameters | |
|---|---|
videoProvider | 
            RemoteConnection.VideoProvider!: The RemoteConnection.VideoProvider invoking this method. | 
          
dataUsage | 
            Long: The updated data usage (in bytes). | 
onCallSessionEvent
open fun onCallSessionEvent(
videoProvider: RemoteConnection.VideoProvider!,
event: Int
): Unit
Reports a call session event received from the Connection.VideoProvider associated with a RemoteConnection.
| Parameters | |
|---|---|
videoProvider | 
            RemoteConnection.VideoProvider!: The RemoteConnection.VideoProvider invoking this method. | 
          
event | 
            Int: The event. | 
onCameraCapabilitiesChanged
open fun onCameraCapabilitiesChanged(
videoProvider: RemoteConnection.VideoProvider!,
cameraCapabilities: VideoProfile.CameraCapabilities!
): Unit
Reports a change in the capabilities of the current camera, received from the Connection.VideoProvider associated with a RemoteConnection.
| Parameters | |
|---|---|
videoProvider | 
            RemoteConnection.VideoProvider!: The RemoteConnection.VideoProvider invoking this method. | 
          
cameraCapabilities | 
            VideoProfile.CameraCapabilities!: The changed camera capabilities. | 
onPeerDimensionsChanged
open fun onPeerDimensionsChanged(
videoProvider: RemoteConnection.VideoProvider!,
width: Int,
height: Int
): Unit
Reports a change in the peer video dimensions received from the Connection.VideoProvider associated with a RemoteConnection.
| Parameters | |
|---|---|
videoProvider | 
            RemoteConnection.VideoProvider!: The RemoteConnection.VideoProvider invoking this method. | 
          
width | 
            Int: The updated peer video width. | 
height | 
            Int: The updated peer video height. | 
onSessionModifyRequestReceived
open fun onSessionModifyRequestReceived(
videoProvider: RemoteConnection.VideoProvider!,
videoProfile: VideoProfile!
): Unit
Reports a session modification request received from the Connection.VideoProvider associated with a RemoteConnection.
| Parameters | |
|---|---|
videoProvider | 
            RemoteConnection.VideoProvider!: The RemoteConnection.VideoProvider invoking this method. | 
          
videoProfile | 
            VideoProfile!: The requested video call profile. | 
onSessionModifyResponseReceived
open fun onSessionModifyResponseReceived(
videoProvider: RemoteConnection.VideoProvider!,
status: Int,
requestedProfile: VideoProfile!,
responseProfile: VideoProfile!
): Unit
Reports a session modification response received from the Connection.VideoProvider associated with a RemoteConnection.
| Parameters | |
|---|---|
videoProvider | 
            RemoteConnection.VideoProvider!: The RemoteConnection.VideoProvider invoking this method. | 
          
status | 
            Int: Status of the session modify request. | 
requestedProfile | 
            VideoProfile!: The original request which was sent to the peer device. | 
responseProfile | 
            VideoProfile!: The actual profile changes made by the peer device. | 
onVideoQualityChanged
open fun onVideoQualityChanged(
videoProvider: RemoteConnection.VideoProvider!,
videoQuality: Int
): Unit
Reports a change in the video quality received from the Connection.VideoProvider associated with a RemoteConnection.
| Parameters | |
|---|---|
videoProvider | 
            RemoteConnection.VideoProvider!: The RemoteConnection.VideoProvider invoking this method. | 
          
videoQuality | 
            Int: The updated peer video quality. |