Hide multi-endpoint APIs.

Per feature council decision, the multi-endpoint APIs will be @hide for
the N release.

Bug: 28196918
Change-Id: Ia80b089bc754ce87ca208382eb79442b5265844d
This commit is contained in:
Tyler Gunn
2016-04-15 11:28:44 -07:00
parent a900359500
commit 1bf206b766
12 changed files with 52 additions and 141 deletions

View File

@ -104,6 +104,7 @@ public final class Call {
* An {@link InCallService} will only see this state if it has the
* {@link TelecomManager#METADATA_INCLUDE_EXTERNAL_CALLS} metadata set to {@code true} in its
* manifest.
* @hide
*/
public static final int STATE_PULLING_CALL = 11;
@ -251,6 +252,7 @@ public final class Call {
* <p>
* See {@link Connection#CAPABILITY_CAN_PULL_CALL} and
* {@link Connection#PROPERTY_IS_EXTERNAL_CALL}.
* @hide
*/
public static final int CAPABILITY_CAN_PULL_CALL = 0x00800000;
@ -303,6 +305,7 @@ public final class Call {
* in its manifest.
* <p>
* See {@link Connection#PROPERTY_IS_EXTERNAL_CALL}.
* @hide
*/
public static final int PROPERTY_IS_EXTERNAL_CALL = 0x00000040;
@ -783,6 +786,7 @@ public final class Call {
* @param call The {@code Call} receiving the event.
* @param event The event.
* @param extras Extras associated with the connection event.
* @hide
*/
public void onConnectionEvent(Call call, String event, Bundle extras) {}
}
@ -961,6 +965,7 @@ public final class Call {
* An {@link InCallService} will only see calls which support this method if it has the
* {@link TelecomManager#METADATA_INCLUDE_EXTERNAL_CALLS} metadata set to {@code true}
* in its manifest.
* @hide
*/
public void pullExternalCall() {
// If this isn't an external call, ignore the request.
@ -983,6 +988,7 @@ public final class Call {
*
* @param event The connection event.
* @param extras Bundle containing extra information associated with the event.
* @hide
*/
public void sendCallEvent(String event, Bundle extras) {
mInCallAdapter.sendCallEvent(mTelecomCallId, event, extras);
@ -996,6 +1002,7 @@ public final class Call {
* extras. Keys should be fully qualified (e.g., com.example.MY_EXTRA) to avoid conflicts.
*
* @param extras The extras to add.
* @hide
*/
public final void putExtras(Bundle extras) {
if (extras == null) {
@ -1058,6 +1065,7 @@ public final class Call {
* Removes extras from this {@code Connection}.
*
* @param keys The keys of the extras to remove.
* @hide
*/
public final void removeExtras(List<String> keys) {
if (mExtras != null) {