diff options
author | Tyler Gunn <tgunn@google.com> | 2014-08-21 16:38:40 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2014-08-21 16:38:40 -0700 |
commit | 27d1e257f3cba2d5954e5562db69035df9ecf290 (patch) | |
tree | 54fd51a7a439ee113567b7511fa1198de2036891 /telecomm | |
parent | 5cef4fa9c189a43ca081d74319f6046e4eba6b8d (diff) | |
download | frameworks_base-27d1e257f3cba2d5954e5562db69035df9ecf290.zip frameworks_base-27d1e257f3cba2d5954e5562db69035df9ecf290.tar.gz frameworks_base-27d1e257f3cba2d5954e5562db69035df9ecf290.tar.bz2 |
Hiding Video telephony related APIs.
Bug: 17188135
Change-Id: I2d4111dbad2430968a458f8f3bf4f2ca1becbbdd
Diffstat (limited to 'telecomm')
5 files changed, 11 insertions, 0 deletions
diff --git a/telecomm/java/android/telecomm/Connection.java b/telecomm/java/android/telecomm/Connection.java index c307a25..a6856db 100644 --- a/telecomm/java/android/telecomm/Connection.java +++ b/telecomm/java/android/telecomm/Connection.java @@ -87,6 +87,7 @@ public abstract class Connection { public void onConferenceChanged(Connection c, Conference conference) {} } + /** @hide */ public static abstract class VideoProvider { /** @@ -528,6 +529,7 @@ public abstract class Connection { * {@link VideoProfile.VideoState#RX_ENABLED}. * * @return The video state of the call. + * @hide */ public final int getVideoState() { return mVideoState; @@ -699,6 +701,7 @@ public abstract class Connection { * {@link VideoProfile.VideoState#RX_ENABLED}. * * @param videoState The new video state. + * @hide */ public final void setVideoState(int videoState) { Log.d(this, "setVideoState %d", videoState); @@ -755,6 +758,7 @@ public abstract class Connection { /** * Sets the video call provider. * @param videoProvider The video provider. + * @hide */ public final void setVideoProvider(VideoProvider videoProvider) { mVideoProvider = videoProvider; @@ -763,6 +767,7 @@ public abstract class Connection { } } + /** @hide */ public final VideoProvider getVideoProvider() { return mVideoProvider; } diff --git a/telecomm/java/android/telecomm/ConnectionRequest.java b/telecomm/java/android/telecomm/ConnectionRequest.java index 5ea1d1a..b991af1 100644 --- a/telecomm/java/android/telecomm/ConnectionRequest.java +++ b/telecomm/java/android/telecomm/ConnectionRequest.java @@ -93,6 +93,7 @@ public final class ConnectionRequest implements Parcelable { * {@link VideoProfile.VideoState#RX_ENABLED}. * * @return The video state for the connection. + * @hide */ public int getVideoState() { return mVideoState; diff --git a/telecomm/java/android/telecomm/RemoteConnection.java b/telecomm/java/android/telecomm/RemoteConnection.java index 30cfdde..70db6f5 100644 --- a/telecomm/java/android/telecomm/RemoteConnection.java +++ b/telecomm/java/android/telecomm/RemoteConnection.java @@ -158,6 +158,7 @@ public final class RemoteConnection { * * @param connection The {@code RemoteConnection} invoking this method. * @param videoState The new video state of the {@code RemoteConnection}. + * @hide */ public void onVideoStateChanged(RemoteConnection connection, int videoState) {} @@ -357,6 +358,7 @@ public final class RemoteConnection { /** * @return The video state of the {@code RemoteConnection}. See * {@link VideoProfile.VideoState}. + * @hide */ public int getVideoState() { return mVideoState; diff --git a/telecomm/java/android/telecomm/TelecommManager.java b/telecomm/java/android/telecomm/TelecommManager.java index 5192b0f..e59fea1 100644 --- a/telecomm/java/android/telecomm/TelecommManager.java +++ b/telecomm/java/android/telecomm/TelecommManager.java @@ -76,6 +76,7 @@ public class TelecommManager { * {@link VideoProfile.VideoState#BIDIRECTIONAL}, * {@link VideoProfile.VideoState#RX_ENABLED}, * {@link VideoProfile.VideoState#TX_ENABLED}. + * @hide */ public static final String EXTRA_START_CALL_WITH_VIDEO_STATE = "android.intent.extra.START_CALL_WITH_VIDEO_STATE"; diff --git a/telecomm/java/android/telecomm/VideoProfile.java b/telecomm/java/android/telecomm/VideoProfile.java index b147978..028d24e 100644 --- a/telecomm/java/android/telecomm/VideoProfile.java +++ b/telecomm/java/android/telecomm/VideoProfile.java @@ -21,6 +21,8 @@ import android.os.Parcelable; /** * Represents attributes of video calls. + * + * {@hide} */ public class VideoProfile implements Parcelable { /** |