diff options
author | Tyler Gunn <tgunn@google.com> | 2015-05-29 10:05:46 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2015-05-29 10:05:46 -0700 |
commit | a2df92512b79e55a3b7c118eeb9ae60628f43c7a (patch) | |
tree | 2b1078add6359a72df69e9d3ed930854c5a08b07 /api | |
parent | 7cb0925e7e89a415a101f83e32d4f5e51f768ffd (diff) | |
download | frameworks_base-a2df92512b79e55a3b7c118eeb9ae60628f43c7a.zip frameworks_base-a2df92512b79e55a3b7c118eeb9ae60628f43c7a.tar.gz frameworks_base-a2df92512b79e55a3b7c118eeb9ae60628f43c7a.tar.bz2 |
Un-@hide some missed video APIs.
- renamed some methods to match what is in the non-remote version of
the API.
- Renamed RemoteConnection.VideoProvider.Listener to Callback.
Bug: 21474356
Change-Id: I4840e19921dafb4db288a4f8362b14d5dfa0aea1
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 30 | ||||
-rw-r--r-- | api/system-current.txt | 30 |
2 files changed, 60 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index 774374e..de75e03 100644 --- a/api/current.txt +++ b/api/current.txt @@ -30418,6 +30418,8 @@ package android.telecom { method public final android.os.Bundle getExtras(); method public int getState(); method public android.telecom.StatusHints getStatusHints(); + method public final android.telecom.RemoteConnection.VideoProvider getVideoProvider(); + method public int getVideoState(); method public void hold(); method public boolean isRingbackRequested(); method public boolean isVoipAudioMode(); @@ -30447,9 +30449,37 @@ package android.telecom { method public void onRingbackRequested(android.telecom.RemoteConnection, boolean); method public void onStateChanged(android.telecom.RemoteConnection, int); method public void onStatusHintsChanged(android.telecom.RemoteConnection, android.telecom.StatusHints); + method public void onVideoProviderChanged(android.telecom.RemoteConnection, android.telecom.RemoteConnection.VideoProvider); + method public void onVideoStateChanged(android.telecom.RemoteConnection, int); method public void onVoipAudioChanged(android.telecom.RemoteConnection, boolean); } + public static class RemoteConnection.VideoProvider { + method public void registerCallback(android.telecom.RemoteConnection.VideoProvider.Callback); + method public void requestCallDataUsage(); + method public void requestCameraCapabilities(); + method public void sendSessionModifyRequest(android.telecom.VideoProfile, android.telecom.VideoProfile); + method public void sendSessionModifyResponse(android.telecom.VideoProfile); + method public void setCamera(java.lang.String); + method public void setDeviceOrientation(int); + method public void setDisplaySurface(android.view.Surface); + method public void setPauseImage(android.net.Uri); + method public void setPreviewSurface(android.view.Surface); + method public void setZoom(float); + method public void unregisterCallback(android.telecom.RemoteConnection.VideoProvider.Callback); + } + + public static abstract class RemoteConnection.VideoProvider.Callback { + ctor public RemoteConnection.VideoProvider.Callback(); + method public void onCallDataUsageChanged(android.telecom.RemoteConnection.VideoProvider, long); + method public void onCallSessionEvent(android.telecom.RemoteConnection.VideoProvider, int); + method public void onCameraCapabilitiesChanged(android.telecom.RemoteConnection.VideoProvider, android.telecom.VideoProfile.CameraCapabilities); + method public void onPeerDimensionsChanged(android.telecom.RemoteConnection.VideoProvider, int, int); + method public void onSessionModifyRequestReceived(android.telecom.RemoteConnection.VideoProvider, android.telecom.VideoProfile); + method public void onSessionModifyResponseReceived(android.telecom.RemoteConnection.VideoProvider, int, android.telecom.VideoProfile, android.telecom.VideoProfile); + method public void onVideoQualityChanged(android.telecom.RemoteConnection.VideoProvider, int); + } + public final class StatusHints implements android.os.Parcelable { ctor public StatusHints(java.lang.CharSequence, android.graphics.drawable.Icon, android.os.Bundle); method public int describeContents(); diff --git a/api/system-current.txt b/api/system-current.txt index d75a9a0..e6a57df 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -32602,6 +32602,8 @@ package android.telecom { method public final android.os.Bundle getExtras(); method public int getState(); method public android.telecom.StatusHints getStatusHints(); + method public final android.telecom.RemoteConnection.VideoProvider getVideoProvider(); + method public int getVideoState(); method public void hold(); method public boolean isRingbackRequested(); method public boolean isVoipAudioMode(); @@ -32632,9 +32634,37 @@ package android.telecom { method public void onRingbackRequested(android.telecom.RemoteConnection, boolean); method public void onStateChanged(android.telecom.RemoteConnection, int); method public void onStatusHintsChanged(android.telecom.RemoteConnection, android.telecom.StatusHints); + method public void onVideoProviderChanged(android.telecom.RemoteConnection, android.telecom.RemoteConnection.VideoProvider); + method public void onVideoStateChanged(android.telecom.RemoteConnection, int); method public void onVoipAudioChanged(android.telecom.RemoteConnection, boolean); } + public static class RemoteConnection.VideoProvider { + method public void registerCallback(android.telecom.RemoteConnection.VideoProvider.Callback); + method public void requestCallDataUsage(); + method public void requestCameraCapabilities(); + method public void sendSessionModifyRequest(android.telecom.VideoProfile, android.telecom.VideoProfile); + method public void sendSessionModifyResponse(android.telecom.VideoProfile); + method public void setCamera(java.lang.String); + method public void setDeviceOrientation(int); + method public void setDisplaySurface(android.view.Surface); + method public void setPauseImage(android.net.Uri); + method public void setPreviewSurface(android.view.Surface); + method public void setZoom(float); + method public void unregisterCallback(android.telecom.RemoteConnection.VideoProvider.Callback); + } + + public static abstract class RemoteConnection.VideoProvider.Callback { + ctor public RemoteConnection.VideoProvider.Callback(); + method public void onCallDataUsageChanged(android.telecom.RemoteConnection.VideoProvider, long); + method public void onCallSessionEvent(android.telecom.RemoteConnection.VideoProvider, int); + method public void onCameraCapabilitiesChanged(android.telecom.RemoteConnection.VideoProvider, android.telecom.VideoProfile.CameraCapabilities); + method public void onPeerDimensionsChanged(android.telecom.RemoteConnection.VideoProvider, int, int); + method public void onSessionModifyRequestReceived(android.telecom.RemoteConnection.VideoProvider, android.telecom.VideoProfile); + method public void onSessionModifyResponseReceived(android.telecom.RemoteConnection.VideoProvider, int, android.telecom.VideoProfile, android.telecom.VideoProfile); + method public void onVideoQualityChanged(android.telecom.RemoteConnection.VideoProvider, int); + } + public final class StatusHints implements android.os.Parcelable { ctor public deprecated StatusHints(android.content.ComponentName, java.lang.CharSequence, int, android.os.Bundle); ctor public StatusHints(java.lang.CharSequence, android.graphics.drawable.Icon, android.os.Bundle); |