Most visited

Recently visited

Added in API level 23

RemoteConnection.VideoProvider.Callback

public static abstract class RemoteConnection.VideoProvider.Callback
extends Object

java.lang.Object
   ↳ android.telecom.RemoteConnection.VideoProvider.Callback


RemoteConnection.VideoProvider用来从 Connection.VideoProvider中继事件的回叫类。

Summary

Public constructors

RemoteConnection.VideoProvider.Callback()

Public methods

void onCallDataUsageChanged(RemoteConnection.VideoProvider videoProvider, long dataUsage)

报告从与 Connection.VideoProvider相关联的 RemoteConnection收到的数据使用情况(以字节为单位)的 RemoteConnection

void onCallSessionEvent(RemoteConnection.VideoProvider videoProvider, int event)

报告从与 Connection.VideoProvider关联的 RemoteConnection收到的呼叫会话事件。

void onCameraCapabilitiesChanged(RemoteConnection.VideoProvider videoProvider, VideoProfile.CameraCapabilities cameraCapabilities)

报告在当前摄像机的能力发生改变,从接收 Connection.VideoProvider与相关 RemoteConnection

void onPeerDimensionsChanged(RemoteConnection.VideoProvider videoProvider, int width, int height)

报告从与 Connection.VideoProvider关联的 RemoteConnection收到的对等视频尺寸的 RemoteConnection

void onSessionModifyRequestReceived(RemoteConnection.VideoProvider videoProvider, VideoProfile videoProfile)

报告从与 Connection.VideoProvider关联的 RemoteConnection收到的会话修改请求。

void onSessionModifyResponseReceived(RemoteConnection.VideoProvider videoProvider, int status, VideoProfile requestedProfile, VideoProfile responseProfile)

报告从与 Connection.VideoProvider关联的 RemoteConnection收到的会话修改响应。

void onVideoQualityChanged(RemoteConnection.VideoProvider videoProvider, int videoQuality)

报告从接收到的视频质量的变化 Connection.VideoProvider与相关 RemoteConnection

Inherited methods

From class java.lang.Object

Public constructors

RemoteConnection.VideoProvider.Callback

Added in API level 23
RemoteConnection.VideoProvider.Callback ()

Public methods

onCallDataUsageChanged

Added in API level 23
void onCallDataUsageChanged (RemoteConnection.VideoProvider videoProvider, 
                long dataUsage)

报告从与 Connection.VideoProvider关联的 RemoteConnection收到的数据使用情况(以字节为单位)的 RemoteConnection

Parameters
videoProvider RemoteConnection.VideoProvider: The RemoteConnection.VideoProvider invoking this method.
dataUsage long: The updated data usage (in bytes).

也可以看看:

onCallSessionEvent

Added in API level 23
void onCallSessionEvent (RemoteConnection.VideoProvider videoProvider, 
                int event)

报告从与 Connection.VideoProvider相关联的 RemoteConnection收到的呼叫会话事件。

Parameters
videoProvider RemoteConnection.VideoProvider: The RemoteConnection.VideoProvider invoking this method.
event int: The event.

也可以看看:

onCameraCapabilitiesChanged

Added in API level 23
void onCameraCapabilitiesChanged (RemoteConnection.VideoProvider videoProvider, 
                VideoProfile.CameraCapabilities cameraCapabilities)

报告在当前摄像机的能力发生改变,从接收 Connection.VideoProvider与相关 RemoteConnection

Parameters
videoProvider RemoteConnection.VideoProvider: The RemoteConnection.VideoProvider invoking this method.
cameraCapabilities VideoProfile.CameraCapabilities: The changed camera capabilities.

也可以看看:

onPeerDimensionsChanged

Added in API level 23
void onPeerDimensionsChanged (RemoteConnection.VideoProvider videoProvider, 
                int width, 
                int height)

报告从与 Connection.VideoProvider关联的 RemoteConnection收到的对等视频尺寸的 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

Added in API level 23
void onSessionModifyRequestReceived (RemoteConnection.VideoProvider videoProvider, 
                VideoProfile videoProfile)

报告从接收到的会话修改请求 Connection.VideoProvider与相关联 RemoteConnection

Parameters
videoProvider RemoteConnection.VideoProvider: The RemoteConnection.VideoProvider invoking this method.
videoProfile VideoProfile: The requested video call profile.

也可以看看:

onSessionModifyResponseReceived

Added in API level 23
void onSessionModifyResponseReceived (RemoteConnection.VideoProvider videoProvider, 
                int status, 
                VideoProfile requestedProfile, 
                VideoProfile responseProfile)

报告从接收到会话修改响应 Connection.VideoProvider与相关联 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

Added in API level 23
void onVideoQualityChanged (RemoteConnection.VideoProvider videoProvider, 
                int videoQuality)

报告从接收到的视频质量的变化 Connection.VideoProvider与相关 RemoteConnection

Parameters
videoProvider RemoteConnection.VideoProvider: The RemoteConnection.VideoProvider invoking this method.
videoQuality int: The updated peer video quality.

也可以看看:

Hooray!