blob: 1c502f44753a194ce5f9f18be3694e3cfe555ad2 [file] [log] [blame]
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
*/
package com.android.telecomm.testapps;
import android.telecomm.CallVideoProvider;
import android.telecomm.RemoteCallVideoClient;
import android.telecomm.VideoCallProfile;
import android.util.Log;
import android.view.Surface;
/**
* Implements the CallVideoProvider.
*/
public class TestCallVideoProvider extends CallVideoProvider {
@Override
public void onSetCallVideoClient(RemoteCallVideoClient callVideoClient) {
}
@Override
public void onSetCamera(String cameraId) {
log("Set camera to " + cameraId);
}
@Override
public void onSetPreviewSurface(Surface surface) {
}
@Override
public void onSetDisplaySurface(Surface surface) {
}
@Override
public void onSetDeviceOrientation(int rotation) {
}
@Override
public void onSetZoom(float value) {
}
@Override
public void onSendSessionModifyRequest(VideoCallProfile requestProfile) {
}
@Override
public void onSendSessionModifyResponse(VideoCallProfile responseProfile) {
}
@Override
public void onRequestCameraCapabilities() {
}
@Override
public void onRequestCallDataUsage() {
}
@Override
public void onSetPauseImage(String uri) {
}
private static void log(String msg) {
Log.w("TestCallServiceProvider", "[TestCallServiceProvider] " + msg);
}
}