method @Deprecated @RequiresPermission(android.Manifest.permission.BLUETOOTH_SCAN) public void startTruncatedScan(java.util.List<android.bluetooth.le.TruncatedFilter>, android.bluetooth.le.ScanSettings, android.bluetooth.le.ScanCallback);
}
@FlaggedApi("com.android.bluetooth.flags.channel_sounding") public final class ChannelSoundingParams implements android.os.Parcelable {
method public int describeContents();
method public int getCsSecurityLevel();
method public int getLocationType();
method public int getSightType();
method public void writeToParcel(@NonNull android.os.Parcel, int);
field @NonNull public static final android.os.Parcelable.Creator<android.bluetooth.le.ChannelSoundingParams> CREATOR;
field public static final int CS_SECURITY_LEVEL_FOUR = 4; // 0x4
field public static final int CS_SECURITY_LEVEL_ONE = 1; // 0x1
field public static final int CS_SECURITY_LEVEL_THREE = 3; // 0x3
field public static final int CS_SECURITY_LEVEL_TWO = 2; // 0x2
field public static final int CS_SECURITY_LEVEL_UNKNOWN = 0; // 0x0
field public static final int LOCATION_TYPE_INDOOR = 1; // 0x1
field public static final int LOCATION_TYPE_OUTDOOR = 2; // 0x2
field public static final int LOCATION_TYPE_UNKNOWN = 0; // 0x0
field public static final int SIGHT_TYPE_LINE_OF_SIGHT = 1; // 0x1
field public static final int SIGHT_TYPE_NON_LINE_OF_SIGHT = 2; // 0x2
field public static final int SIGHT_TYPE_UNKNOWN = 0; // 0x0
}
public static final class ChannelSoundingParams.Builder {
ctor public ChannelSoundingParams.Builder();
method @NonNull public android.bluetooth.le.ChannelSoundingParams build();
method @NonNull public android.bluetooth.le.ChannelSoundingParams.Builder setCsSecurityLevel(int);
method @NonNull public android.bluetooth.le.ChannelSoundingParams.Builder setLocationType(int);
method @NonNull public android.bluetooth.le.ChannelSoundingParams.Builder setSightType(int);
}
public final class DistanceMeasurementManager {
method @FlaggedApi("com.android.bluetooth.flags.channel_sounding") @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getChannelSoundingMaxSupportedSecurityLevel(@NonNull android.bluetooth.BluetoothDevice);
method @FlaggedApi("com.android.bluetooth.flags.channel_sounding") @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getLocalChannelSoundingMaxSupportedSecurityLevel();
method @NonNull @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public java.util.List<android.bluetooth.le.DistanceMeasurementMethod> getSupportedMethods();