Lines Matching refs:VideoProvider
701 Connection c, VideoProvider videoProvider) {}
722 * Implementations create a custom subclass of {@link VideoProvider} and the
724 * {@link Connection#setVideoProvider(VideoProvider)}. Any connection which supports video
725 * should set the {@link VideoProvider}.
727 * The {@link VideoProvider} serves two primary purposes: it provides a means for Telecom and
732 * {@link InCallService} implementations interact with the {@link VideoProvider} via
735 public static abstract class VideoProvider {
821 private VideoProvider.VideoProviderHandler mMessageHandler;
822 private final VideoProvider.VideoProviderBinder mBinder;
979 public VideoProvider() {
980 mBinder = new VideoProvider.VideoProviderBinder();
981 mMessageHandler = new VideoProvider.VideoProviderHandler(Looper.getMainLooper());
985 * Creates an instance of the {@link VideoProvider}, specifying the looper to use.
990 public VideoProvider(Looper looper) {
991 mBinder = new VideoProvider.VideoProviderBinder();
992 mMessageHandler = new VideoProvider.VideoProviderHandler(looper);
1006 * The {@link VideoProvider} should respond by communicating the capabilities of the chosen
1008 * {@link VideoProvider#changeCameraCapabilities(VideoProfile.CameraCapabilities)}.
1067 * If the {@link VideoProvider} determines a request to be invalid, it should call
1072 * {@link VideoProvider} must communicate the request to the peer device and handle the
1104 * Issues a request to the {@link VideoProvider} to retrieve the camera capabilities.
1106 * The {@link VideoProvider} should respond by communicating the capabilities of the chosen
1108 * {@link VideoProvider#changeCameraCapabilities(VideoProfile.CameraCapabilities)}.
1116 * Issues a request to the {@link VideoProvider} to retrieve the current data usage for the
1119 * The {@link VideoProvider} should respond by communicating current data usage, in bytes,
1120 * via {@link VideoProvider#setCallDataUsage(long)}.
1128 * Provides the {@link VideoProvider} with the {@link Uri} of an image to be displayed to
1140 * {@link VideoProvider} receives a session modification request.
1162 * {@link VideoProvider} receives a response to a session modification request.
1169 * {@link VideoProvider#SESSION_MODIFY_REQUEST_SUCCESS},
1170 * {@link VideoProvider#SESSION_MODIFY_REQUEST_FAIL},
1171 * {@link VideoProvider#SESSION_MODIFY_REQUEST_INVALID},
1172 * {@link VideoProvider#SESSION_MODIFY_REQUEST_TIMED_OUT},
1173 * {@link VideoProvider#SESSION_MODIFY_REQUEST_REJECTED_BY_REMOTE}
1194 * {@link VideoProvider} reports a call session event.
1199 * @param event The event. Valid values are: {@link VideoProvider#SESSION_EVENT_RX_PAUSE},
1200 * {@link VideoProvider#SESSION_EVENT_RX_RESUME},
1201 * {@link VideoProvider#SESSION_EVENT_TX_START},
1202 * {@link VideoProvider#SESSION_EVENT_TX_STOP},
1203 * {@link VideoProvider#SESSION_EVENT_CAMERA_FAILURE},
1204 * {@link VideoProvider#SESSION_EVENT_CAMERA_READY}.
1249 * {@link VideoProvider}. Where periodic updates of data usage are provided, they should be
1285 * The {@link VideoProvider} should call this in response to
1286 * {@link VideoProvider#onRequestCameraCapabilities()}, or when the current camera is
1287 * changed via {@link VideoProvider#onSetCamera(String)}.
1373 private VideoProvider mVideoProvider;
1766 * @param videoProvider The video provider.
1768 public final void setVideoProvider(VideoProvider videoProvider) {
1770 mVideoProvider = videoProvider;
1772 l.onVideoProviderChanged(this, videoProvider);
1776 public final VideoProvider getVideoProvider() {