Lines Matching refs:VideoProvider
787 Connection c, VideoProvider videoProvider) {}
918 * Implementations create a custom subclass of {@link VideoProvider} and the
920 * {@link Connection#setVideoProvider(VideoProvider)}. Any connection which supports video
921 * should set the {@link VideoProvider}.
923 * The {@link VideoProvider} serves two primary purposes: it provides a means for Telecom and
928 * {@link InCallService} implementations interact with the {@link VideoProvider} via
931 public static abstract class VideoProvider {
959 * A camera failure has occurred for the selected camera. The {@link VideoProvider} can use
967 * for operation. The {@link VideoProvider} can use this as a cue to inform the user that
1034 private VideoProvider.VideoProviderHandler mMessageHandler;
1035 private final VideoProvider.VideoProviderBinder mBinder;
1217 public VideoProvider() {
1218 mBinder = new VideoProvider.VideoProviderBinder();
1219 mMessageHandler = new VideoProvider.VideoProviderHandler(Looper.getMainLooper());
1223 * Creates an instance of the {@link VideoProvider}, specifying the looper to use.
1228 public VideoProvider(Looper looper) {
1229 mBinder = new VideoProvider.VideoProviderBinder();
1230 mMessageHandler = new VideoProvider.VideoProviderHandler(looper);
1244 * The {@link VideoProvider} should respond by communicating the capabilities of the chosen
1246 * {@link VideoProvider#changeCameraCapabilities(VideoProfile.CameraCapabilities)}.
1259 * The {@link VideoProvider} should respond by communicating the capabilities of the chosen
1261 * {@link VideoProvider#changeCameraCapabilities(VideoProfile.CameraCapabilities)}.
1329 * If the {@link VideoProvider} determines a request to be invalid, it should call
1334 * {@link VideoProvider} must communicate the request to the peer device and handle the
1366 * Issues a request to the {@link VideoProvider} to retrieve the camera capabilities.
1368 * The {@link VideoProvider} should respond by communicating the capabilities of the chosen
1370 * {@link VideoProvider#changeCameraCapabilities(VideoProfile.CameraCapabilities)}.
1378 * Issues a request to the {@link VideoProvider} to retrieve the current data usage for the
1381 * The {@link VideoProvider} should respond by communicating current data usage, in bytes,
1382 * via {@link VideoProvider#setCallDataUsage(long)}.
1390 * Provides the {@link VideoProvider} with the {@link Uri} of an image to be displayed to
1402 * {@link VideoProvider} receives a session modification request.
1424 * {@link VideoProvider} receives a response to a session modification request.
1431 * {@link VideoProvider#SESSION_MODIFY_REQUEST_SUCCESS},
1432 * {@link VideoProvider#SESSION_MODIFY_REQUEST_FAIL},
1433 * {@link VideoProvider#SESSION_MODIFY_REQUEST_INVALID},
1434 * {@link VideoProvider#SESSION_MODIFY_REQUEST_TIMED_OUT},
1435 * {@link VideoProvider#SESSION_MODIFY_REQUEST_REJECTED_BY_REMOTE}
1456 * {@link VideoProvider} reports a call session event.
1461 * @param event The event. Valid values are: {@link VideoProvider#SESSION_EVENT_RX_PAUSE},
1462 * {@link VideoProvider#SESSION_EVENT_RX_RESUME},
1463 * {@link VideoProvider#SESSION_EVENT_TX_START},
1464 * {@link VideoProvider#SESSION_EVENT_TX_STOP},
1465 * {@link VideoProvider#SESSION_EVENT_CAMERA_FAILURE},
1466 * {@link VideoProvider#SESSION_EVENT_CAMERA_READY},
1467 * {@link VideoProvider#SESSION_EVENT_CAMERA_FAILURE}.
1512 * {@link VideoProvider}. Where periodic updates of data usage are provided, they should be
1548 * The {@link VideoProvider} should call this in response to
1549 * {@link VideoProvider#onRequestCameraCapabilities()}, or when the current camera is
1550 * changed via {@link VideoProvider#onSetCamera(String)}.
1665 private VideoProvider mVideoProvider;
2067 * @param videoProvider The video provider.
2069 public final void setVideoProvider(VideoProvider videoProvider) {
2071 mVideoProvider = videoProvider;
2073 l.onVideoProviderChanged(this, videoProvider);
2077 public final VideoProvider getVideoProvider() {