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