• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Signature format: 2.0
2package com.android.media.remotedisplay {
3
4  public class RemoteDisplay {
5    ctor public RemoteDisplay(String, String);
6    method public String getDescription();
7    method public String getId();
8    method public String getName();
9    method public int getPresentationDisplayId();
10    method public int getStatus();
11    method public int getVolume();
12    method public int getVolumeHandling();
13    method public int getVolumeMax();
14    method public void setDescription(String);
15    method public void setName(String);
16    method public void setPresentationDisplayId(int);
17    method public void setStatus(int);
18    method public void setVolume(int);
19    method public void setVolumeHandling(int);
20    method public void setVolumeMax(int);
21    field public static final int PLAYBACK_VOLUME_FIXED = 0; // 0x0
22    field public static final int PLAYBACK_VOLUME_VARIABLE = 1; // 0x1
23    field public static final int STATUS_AVAILABLE = 2; // 0x2
24    field public static final int STATUS_CONNECTED = 4; // 0x4
25    field public static final int STATUS_CONNECTING = 3; // 0x3
26    field public static final int STATUS_IN_USE = 1; // 0x1
27    field public static final int STATUS_NOT_AVAILABLE = 0; // 0x0
28  }
29
30  public abstract class RemoteDisplayProvider {
31    ctor public RemoteDisplayProvider(android.content.Context);
32    method public void addDisplay(com.android.media.remotedisplay.RemoteDisplay);
33    method public com.android.media.remotedisplay.RemoteDisplay findRemoteDisplay(String);
34    method public android.os.IBinder getBinder();
35    method public final android.content.Context getContext();
36    method public int getDiscoveryMode();
37    method public java.util.Collection<com.android.media.remotedisplay.RemoteDisplay> getDisplays();
38    method public android.app.PendingIntent getSettingsPendingIntent();
39    method public void onAdjustVolume(com.android.media.remotedisplay.RemoteDisplay, int);
40    method public void onConnect(com.android.media.remotedisplay.RemoteDisplay);
41    method public void onDisconnect(com.android.media.remotedisplay.RemoteDisplay);
42    method public void onDiscoveryModeChanged(int);
43    method public void onSetVolume(com.android.media.remotedisplay.RemoteDisplay, int);
44    method public void removeDisplay(com.android.media.remotedisplay.RemoteDisplay);
45    method public void updateDisplay(com.android.media.remotedisplay.RemoteDisplay);
46    field public static final int DISCOVERY_MODE_ACTIVE = 2; // 0x2
47    field public static final int DISCOVERY_MODE_NONE = 0; // 0x0
48    field public static final int DISCOVERY_MODE_PASSIVE = 1; // 0x1
49    field public static final String SERVICE_INTERFACE = "com.android.media.remotedisplay.RemoteDisplayProvider";
50  }
51
52}
53
54