summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-07-25 16:19:01 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-07-25 16:19:01 +0000
commitc7eb7d555773c7292b513d10a6a9ab4de3a67249 (patch)
treeac9d234f8a0b35666ffb43104884679b37cb66ff /api
parentb7aa6b22b256d5c34ac72b06e0a1fed0a44cbb32 (diff)
parent3a6046ac7ccfcd97c5ee96ba17e47a6af323618b (diff)
downloadframeworks_base-c7eb7d555773c7292b513d10a6a9ab4de3a67249.zip
frameworks_base-c7eb7d555773c7292b513d10a6a9ab4de3a67249.tar.gz
frameworks_base-c7eb7d555773c7292b513d10a6a9ab4de3a67249.tar.bz2
am cc9c8d2a: am 933807c1: am 430f25e4: Merge "Add VideoCall and VideoCall.Listener as an inner classes of Call." into lmp-dev
* commit 'cc9c8d2a184b2051af80e8187dd50e818b360ba1': Add VideoCall and VideoCall.Listener as an inner classes of Call.
Diffstat (limited to 'api')
-rw-r--r--api/current.txt129
1 files changed, 70 insertions, 59 deletions
diff --git a/api/current.txt b/api/current.txt
index b2e4969..915ae49 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -28465,13 +28465,13 @@ package android.telecomm {
method public void answer(int);
method public void conference();
method public void disconnect();
- method public android.telecomm.RemoteCallVideoProvider getCallVideoProvider();
method public java.util.List<java.lang.String> getCannedTextResponses();
method public java.util.List<android.telecomm.Call> getChildren();
method public android.telecomm.Call.Details getDetails();
method public android.telecomm.Call getParent();
method public java.lang.String getRemainingPostDialSequence();
method public int getState();
+ method public android.telecomm.InCallService.VideoCall getVideoCall();
method public void hold();
method public void phoneAccountClicked();
method public void phoneAccountSelected(android.telecomm.PhoneAccountHandle);
@@ -28510,7 +28510,6 @@ package android.telecomm {
public static abstract class Call.Listener {
ctor public Call.Listener();
method public void onCallDestroyed(android.telecomm.Call);
- method public void onCallVideoProviderChanged(android.telecomm.Call, android.telecomm.RemoteCallVideoProvider);
method public void onCannedTextResponsesLoaded(android.telecomm.Call, java.util.List<java.lang.String>);
method public void onChildrenChanged(android.telecomm.Call, java.util.List<android.telecomm.Call>);
method public void onDetailsChanged(android.telecomm.Call, android.telecomm.Call.Details);
@@ -28519,6 +28518,7 @@ package android.telecomm {
method public void onPostDialWait(android.telecomm.Call, java.lang.String);
method public void onStartActivity(android.telecomm.Call, android.app.PendingIntent);
method public void onStateChanged(android.telecomm.Call, int);
+ method public void onVideoCallChanged(android.telecomm.Call, android.telecomm.InCallService.VideoCall);
}
public final class CallAudioState implements android.os.Parcelable {
@@ -28582,45 +28582,12 @@ package android.telecomm {
enum_constant public static final android.telecomm.CallState RINGING;
}
- public abstract class CallVideoClient {
- ctor public CallVideoClient();
- method public abstract void onHandleCallSessionEvent(int);
- method public abstract void onHandleCameraCapabilitiesChange(android.telecomm.CallCameraCapabilities);
- method public abstract void onReceiveSessionModifyRequest(android.telecomm.VideoCallProfile);
- method public abstract void onReceiveSessionModifyResponse(int, android.telecomm.VideoCallProfile, android.telecomm.VideoCallProfile);
- method public abstract void onUpdateCallDataUsage(int);
- method public abstract void onUpdatePeerDimensions(int, int);
- field public static final int SESSION_EVENT_RX_PAUSE = 1; // 0x1
- field public static final int SESSION_EVENT_RX_RESUME = 2; // 0x2
- field public static final int SESSION_EVENT_TX_START = 3; // 0x3
- field public static final int SESSION_EVENT_TX_STOP = 4; // 0x4
- field public static final int SESSION_MODIFY_REQUEST_FAIL = 2; // 0x2
- field public static final int SESSION_MODIFY_REQUEST_INVALID = 3; // 0x3
- field public static final int SESSION_MODIFY_REQUEST_SUCCESS = 1; // 0x1
- }
-
- public abstract class CallVideoProvider {
- ctor public CallVideoProvider();
- method public abstract void onRequestCallDataUsage();
- method public abstract void onRequestCameraCapabilities();
- method public abstract void onSendSessionModifyRequest(android.telecomm.VideoCallProfile);
- method public abstract void onSendSessionModifyResponse(android.telecomm.VideoCallProfile);
- method public abstract void onSetCallVideoClient(android.telecomm.RemoteCallVideoClient);
- method public abstract void onSetCamera(java.lang.String);
- method public abstract void onSetDeviceOrientation(int);
- method public abstract void onSetDisplaySurface(android.view.Surface);
- method public abstract void onSetPauseImage(java.lang.String);
- method public abstract void onSetPreviewSurface(android.view.Surface);
- method public abstract void onSetZoom(float);
- }
-
public abstract class Connection {
ctor public Connection();
method public final void destroy();
method public final boolean getAudioModeIsVoip();
method public final android.telecomm.CallAudioState getCallAudioState();
method public final int getCallCapabilities();
- method public final android.telecomm.CallVideoProvider getCallVideoProvider();
method public final java.lang.String getCallerDisplayName();
method public final int getCallerDisplayNamePresentation();
method public final java.util.List<android.telecomm.Connection> getChildConnections();
@@ -28629,6 +28596,7 @@ package android.telecomm {
method public final android.telecomm.Connection getParentConnection();
method public final int getState();
method public final android.telecomm.StatusHints getStatusHints();
+ method public final android.telecomm.VideoCallProvider getVideoCallProvider();
method public final int getVideoState();
method public final boolean isConferenceConnection();
method public final boolean isRequestingRingback();
@@ -28650,7 +28618,6 @@ package android.telecomm {
method public final void setActive();
method public final void setAudioModeIsVoip(boolean);
method public final void setCallCapabilities(int);
- method public final void setCallVideoProvider(android.telecomm.CallVideoProvider);
method public final void setCallerDisplayName(java.lang.String, int);
method public final void setDialing();
method public final void setDisconnected(int, java.lang.String);
@@ -28662,6 +28629,7 @@ package android.telecomm {
method public final void setRinging();
method public final void setSignal(android.os.Bundle);
method public final void setStatusHints(android.telecomm.StatusHints);
+ method public final void setVideoCallProvider(android.telecomm.VideoCallProvider);
method public final void setVideoState(int);
method public final void startActivityFromInCall(android.app.PendingIntent);
method public static java.lang.String stateToString(int);
@@ -28745,6 +28713,38 @@ package android.telecomm {
method public void onPhoneDestroyed(android.telecomm.Phone);
}
+ public static abstract class InCallService.VideoCall {
+ ctor public InCallService.VideoCall();
+ method public abstract void requestCallDataUsage();
+ method public abstract void requestCameraCapabilities();
+ method public abstract void sendSessionModifyRequest(android.telecomm.VideoCallProfile);
+ method public abstract void sendSessionModifyResponse(android.telecomm.VideoCallProfile);
+ method public abstract void setCamera(java.lang.String);
+ method public abstract void setDeviceOrientation(int);
+ method public abstract void setDisplaySurface(android.view.Surface);
+ method public abstract void setPauseImage(java.lang.String);
+ method public abstract void setPreviewSurface(android.view.Surface);
+ method public abstract void setVideoCallListener(android.telecomm.InCallService.VideoCall.Listener);
+ method public abstract void setZoom(float);
+ field public static final int SESSION_EVENT_RX_PAUSE = 1; // 0x1
+ field public static final int SESSION_EVENT_RX_RESUME = 2; // 0x2
+ field public static final int SESSION_EVENT_TX_START = 3; // 0x3
+ field public static final int SESSION_EVENT_TX_STOP = 4; // 0x4
+ field public static final int SESSION_MODIFY_REQUEST_FAIL = 2; // 0x2
+ field public static final int SESSION_MODIFY_REQUEST_INVALID = 3; // 0x3
+ field public static final int SESSION_MODIFY_REQUEST_SUCCESS = 1; // 0x1
+ }
+
+ public static abstract class InCallService.VideoCall.Listener {
+ ctor public InCallService.VideoCall.Listener();
+ method public abstract void onCallDataUsageChanged(int);
+ method public abstract void onCallSessionEvent(int);
+ method public abstract void onCameraCapabilitiesChanged(android.telecomm.CallCameraCapabilities);
+ method public abstract void onPeerDimensionsChanged(int, int);
+ method public abstract void onSessionModifyRequestReceived(android.telecomm.VideoCallProfile);
+ method public abstract void onSessionModifyResponseReceived(int, android.telecomm.VideoCallProfile, android.telecomm.VideoCallProfile);
+ }
+
public final class Phone {
method public final void addListener(android.telecomm.Phone.Listener);
method public final android.telecomm.CallAudioState getAudioState();
@@ -28789,29 +28789,6 @@ package android.telecomm {
field public static final android.os.Parcelable.Creator CREATOR;
}
- public class RemoteCallVideoClient {
- method public void handleCallSessionEvent(int);
- method public void handleCameraCapabilitiesChange(android.telecomm.CallCameraCapabilities);
- method public void receiveSessionModifyRequest(android.telecomm.VideoCallProfile);
- method public void receiveSessionModifyResponse(int, android.telecomm.VideoCallProfile, android.telecomm.VideoCallProfile);
- method public void updateCallDataUsage(int);
- method public void updatePeerDimensions(int, int);
- }
-
- public class RemoteCallVideoProvider {
- method public void requestCallDataUsage();
- method public void requestCameraCapabilities();
- method public void sendSessionModifyRequest(android.telecomm.VideoCallProfile);
- method public void sendSessionModifyResponse(android.telecomm.VideoCallProfile);
- method public void setCallVideoClient(android.telecomm.CallVideoClient);
- method public void setCamera(java.lang.String);
- method public void setDeviceOrientation(int);
- method public void setDisplaySurface(android.view.Surface);
- method public void setPauseImage(java.lang.String);
- method public void setPreviewSurface(android.view.Surface);
- method public void setZoom(float);
- }
-
public final class RemoteConnection {
method public void abort();
method public void addListener(android.telecomm.RemoteConnection.Listener);
@@ -28898,6 +28875,20 @@ package android.telecomm {
field public static final java.lang.String EXTRA_START_CALL_WITH_VIDEO_STATE = "android.intent.extra.START_CALL_WITH_VIDEO_STATE";
}
+ public class VideoCallImpl extends android.telecomm.InCallService.VideoCall {
+ method public void requestCallDataUsage();
+ method public void requestCameraCapabilities();
+ method public void sendSessionModifyRequest(android.telecomm.VideoCallProfile);
+ method public void sendSessionModifyResponse(android.telecomm.VideoCallProfile);
+ method public void setCamera(java.lang.String);
+ method public void setDeviceOrientation(int);
+ method public void setDisplaySurface(android.view.Surface);
+ method public void setPauseImage(java.lang.String);
+ method public void setPreviewSurface(android.view.Surface);
+ method public void setVideoCallListener(android.telecomm.InCallService.VideoCall.Listener);
+ method public void setZoom(float);
+ }
+
public class VideoCallProfile implements android.os.Parcelable {
ctor public VideoCallProfile(int);
ctor public VideoCallProfile(int, int);
@@ -28917,6 +28908,26 @@ package android.telecomm {
field public static final int VIDEO_STATE_TX_ENABLED = 1; // 0x1
}
+ public abstract class VideoCallProvider {
+ ctor public VideoCallProvider();
+ method public void changeCallDataUsage(int);
+ method public void changeCameraCapabilities(android.telecomm.CallCameraCapabilities);
+ method public void changePeerDimensions(int, int);
+ method public void handleCallSessionEvent(int);
+ method public abstract void onRequestCallDataUsage();
+ method public abstract void onRequestCameraCapabilities();
+ method public abstract void onSendSessionModifyRequest(android.telecomm.VideoCallProfile);
+ method public abstract void onSendSessionModifyResponse(android.telecomm.VideoCallProfile);
+ method public abstract void onSetCamera(java.lang.String);
+ method public abstract void onSetDeviceOrientation(int);
+ method public abstract void onSetDisplaySurface(android.view.Surface);
+ method public abstract void onSetPauseImage(java.lang.String);
+ method public abstract void onSetPreviewSurface(android.view.Surface);
+ method public abstract void onSetZoom(float);
+ method public void receiveSessionModifyRequest(android.telecomm.VideoCallProfile);
+ method public void receiveSessionModifyResponse(int, android.telecomm.VideoCallProfile, android.telecomm.VideoCallProfile);
+ }
+
}
package android.telephony {