FileDocCategorySizeDatePackage
ImsVideoCallProvider.javaAPI DocAndroid 5.1 API9033Thu Mar 12 22:22:52 GMT 2015com.android.ims.internal

ImsVideoCallProvider

public abstract class ImsVideoCallProvider extends Object

Fields Summary
private static final int
MSG_SET_CALLBACK
private static final int
MSG_SET_CAMERA
private static final int
MSG_SET_PREVIEW_SURFACE
private static final int
MSG_SET_DISPLAY_SURFACE
private static final int
MSG_SET_DEVICE_ORIENTATION
private static final int
MSG_SET_ZOOM
private static final int
MSG_SEND_SESSION_MODIFY_REQUEST
private static final int
MSG_SEND_SESSION_MODIFY_RESPONSE
private static final int
MSG_REQUEST_CAMERA_CAPABILITIES
private static final int
MSG_REQUEST_CALL_DATA_USAGE
private static final int
MSG_SET_PAUSE_IMAGE
private final ImsVideoCallProviderBinder
mBinder
private IImsVideoCallCallback
mCallback
private final android.os.Handler
mProviderHandler
Default handler used to consolidate binder method calls onto a single thread.
Constructors Summary
public ImsVideoCallProvider()

        mBinder = new ImsVideoCallProviderBinder();
    
Methods Summary
public voidchangeCallDataUsage(int dataUsage)

see
Connection.VideoProvider#changeCallDataUsage

        if (mCallback != null) {
            try {
                mCallback.changeCallDataUsage(dataUsage);
            } catch (RemoteException ignored) {
            }
        }
    
public voidchangeCameraCapabilities(android.telecom.CameraCapabilities CameraCapabilities)

see
Connection.VideoProvider#changeCameraCapabilities

        if (mCallback != null) {
            try {
                mCallback.changeCameraCapabilities(CameraCapabilities);
            } catch (RemoteException ignored) {
            }
        }
    
public voidchangePeerDimensions(int width, int height)

see
Connection.VideoProvider#changePeerDimensions

        if (mCallback != null) {
            try {
                mCallback.changePeerDimensions(width, height);
            } catch (RemoteException ignored) {
            }
        }
    
public final IImsVideoCallProvidergetInterface()
Returns binder object which can be used across IPC methods.

        return mBinder;
    
public voidhandleCallSessionEvent(int event)

see
Connection.VideoProvider#handleCallSessionEvent

        if (mCallback != null) {
            try {
                mCallback.handleCallSessionEvent(event);
            } catch (RemoteException ignored) {
            }
        }
    
public abstract voidonRequestCallDataUsage()

see
Connection.VideoProvider#onRequestCallDataUsage

public abstract voidonRequestCameraCapabilities()

see
Connection.VideoProvider#onRequestCameraCapabilities

public abstract voidonSendSessionModifyRequest(android.telecom.VideoProfile requestProfile)

see
Connection.VideoProvider#onSendSessionModifyRequest

public abstract voidonSendSessionModifyResponse(android.telecom.VideoProfile responseProfile)

see
Connection.VideoProvider#onSendSessionModifyResponse

public abstract voidonSetCamera(java.lang.String cameraId)

see
Connection.VideoProvider#onSetCamera

public abstract voidonSetDeviceOrientation(int rotation)

see
Connection.VideoProvider#onSetDeviceOrientation

public abstract voidonSetDisplaySurface(android.view.Surface surface)

see
Connection.VideoProvider#onSetDisplaySurface

public abstract voidonSetPauseImage(java.lang.String uri)

see
Connection.VideoProvider#onSetPauseImage

public abstract voidonSetPreviewSurface(android.view.Surface surface)

see
Connection.VideoProvider#onSetPreviewSurface

public abstract voidonSetZoom(float value)

see
Connection.VideoProvider#onSetZoom

public voidreceiveSessionModifyRequest(android.telecom.VideoProfile VideoProfile)

see
Connection.VideoProvider#receiveSessionModifyRequest

        if (mCallback != null) {
            try {
                mCallback.receiveSessionModifyRequest(VideoProfile);
            } catch (RemoteException ignored) {
            }
        }
    
public voidreceiveSessionModifyResponse(int status, android.telecom.VideoProfile requestedProfile, android.telecom.VideoProfile responseProfile)

see
Connection.VideoProvider#receiveSessionModifyResponse

        if (mCallback != null) {
            try {
                mCallback.receiveSessionModifyResponse(status, requestedProfile, responseProfile);
            } catch (RemoteException ignored) {
            }
        }