1// Signature format: 2.0 2package com.android.libraries.tv.tvsystem.media { 3 4 public final class AudioDeviceAttributes { 5 ctor public AudioDeviceAttributes(@NonNull android.media.AudioDeviceInfo); 6 ctor public AudioDeviceAttributes(int, int, @NonNull String); 7 method @NonNull public String getAddress(); 8 method public int getRole(); 9 method public int getType(); 10 field public static final int ROLE_INPUT = 1; // 0x1 11 field public static final int ROLE_OUTPUT = 2; // 0x2 12 } 13 14 public final class TvAudioManager { 15 ctor public TvAudioManager(@NonNull android.content.Context); 16 method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getDeviceVolumeBehavior(@NonNull com.android.libraries.tv.tvsystem.media.AudioDeviceAttributes); 17 method @RequiresPermission(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public void setDeviceVolumeBehavior(@NonNull com.android.libraries.tv.tvsystem.media.AudioDeviceAttributes, int); 18 } 19 20} 21 22package com.android.libraries.tv.tvsystem.wifi { 23 24 public final class SoftApConfiguration implements android.os.Parcelable { 25 method public int describeContents(); 26 method @Nullable public android.net.MacAddress getBssid(); 27 method @Nullable public String getSsid(); 28 method @Nullable public String getWpa2Passphrase(); 29 method public void writeToParcel(@NonNull android.os.Parcel, int); 30 field @NonNull public static final android.os.Parcelable.Creator<com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration> CREATOR; 31 } 32 33 public static final class SoftApConfiguration.Builder { 34 ctor public SoftApConfiguration.Builder(); 35 ctor public SoftApConfiguration.Builder(@NonNull com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration); 36 method @NonNull public com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration build(); 37 method @NonNull public com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration.Builder setBssid(@Nullable android.net.MacAddress); 38 method @NonNull public com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration.Builder setSsid(@Nullable String); 39 method @NonNull public com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration.Builder setWpa2Passphrase(@Nullable String); 40 } 41 42 public final class TvWifiManager { 43 ctor public TvWifiManager(@NonNull android.content.Context); 44 method @RequiresPermission(anyOf={android.Manifest.permission.NETWORK_SETTINGS, android.Manifest.permission.NETWORK_SETUP_WIZARD}) public void startLocalOnlyHotspot(@NonNull com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration, @Nullable java.util.concurrent.Executor, @Nullable android.net.wifi.WifiManager.LocalOnlyHotspotCallback); 45 } 46 47} 48 49