FileDocCategorySizeDatePackage
RttManager.javaAPI DocAndroid 5.1 API4202Sat Mar 14 14:10:02 GMT 2015android.net.wifi

RttManager.java

package android.net.wifi;
public class RttManager
{
public class Capabilities
{
public  Capabilities() { throw new RuntimeException("Stub!"); }
public int supportedPeerType;
public int supportedType;
}
public static class RttParams
{
public  RttParams() { throw new RuntimeException("Stub!"); }
public java.lang.String bssid;
public int channelWidth;
public int deviceType;
public int frequency;
public int num_retries;
public int num_samples;
public int requestType;
}
public static class ParcelableRttParams
  implements android.os.Parcelable
{
ParcelableRttParams() { throw new RuntimeException("Stub!"); }
public  int describeContents() { throw new RuntimeException("Stub!"); }
public  void writeToParcel(android.os.Parcel dest, int flags) { throw new RuntimeException("Stub!"); }
public android.net.wifi.RttManager.RttParams[] mParams = null;
}
public static class RttResult
{
public  RttResult() { throw new RuntimeException("Stub!"); }
public java.lang.String bssid;
public int distance_cm;
public int distance_sd_cm;
public int distance_spread_cm;
public int requestType;
public int rssi;
public int rssi_spread;
public long rtt_ns;
public long rtt_sd_ns;
public long rtt_spread_ns;
public int status;
public long ts;
public int tx_rate;
}
public static class ParcelableRttResults
  implements android.os.Parcelable
{
public  ParcelableRttResults(android.net.wifi.RttManager.RttResult[] results) { throw new RuntimeException("Stub!"); }
public  int describeContents() { throw new RuntimeException("Stub!"); }
public  void writeToParcel(android.os.Parcel dest, int flags) { throw new RuntimeException("Stub!"); }
public android.net.wifi.RttManager.RttResult[] mResults = null;
}
public static interface RttListener
{
public abstract  void onSuccess(android.net.wifi.RttManager.RttResult[] results);
public abstract  void onFailure(int reason, java.lang.String description);
public abstract  void onAborted();
}
RttManager() { throw new RuntimeException("Stub!"); }
public  android.net.wifi.RttManager.Capabilities getCapabilities() { throw new RuntimeException("Stub!"); }
public  void startRanging(android.net.wifi.RttManager.RttParams[] params, android.net.wifi.RttManager.RttListener listener) { throw new RuntimeException("Stub!"); }
public  void stopRanging(android.net.wifi.RttManager.RttListener listener) { throw new RuntimeException("Stub!"); }
public static final int BASE = 160256;
public static final int CMD_OP_ABORTED = 160260;
public static final int CMD_OP_FAILED = 160258;
public static final int CMD_OP_START_RANGING = 160256;
public static final int CMD_OP_STOP_RANGING = 160257;
public static final int CMD_OP_SUCCEEDED = 160259;
public static final java.lang.String DESCRIPTION_KEY = "android.net.wifi.RttManager.Description";
public static final int REASON_INVALID_LISTENER = -3;
public static final int REASON_INVALID_REQUEST = -4;
public static final int REASON_NOT_AVAILABLE = -2;
public static final int REASON_UNSPECIFIED = -1;
public static final int RTT_CHANNEL_WIDTH_10 = 6;
public static final int RTT_CHANNEL_WIDTH_160 = 3;
public static final int RTT_CHANNEL_WIDTH_20 = 0;
public static final int RTT_CHANNEL_WIDTH_40 = 1;
public static final int RTT_CHANNEL_WIDTH_5 = 5;
public static final int RTT_CHANNEL_WIDTH_80 = 2;
public static final int RTT_CHANNEL_WIDTH_80P80 = 4;
public static final int RTT_CHANNEL_WIDTH_UNSPECIFIED = -1;
public static final int RTT_PEER_TYPE_AP = 1;
public static final int RTT_PEER_TYPE_STA = 2;
public static final int RTT_PEER_TYPE_UNSPECIFIED = 0;
public static final int RTT_STATUS_ABORTED = 8;
public static final int RTT_STATUS_FAILURE = 1;
public static final int RTT_STATUS_FAIL_AP_ON_DIFF_CHANNEL = 6;
public static final int RTT_STATUS_FAIL_NOT_SCHEDULED_YET = 4;
public static final int RTT_STATUS_FAIL_NO_CAPABILITY = 7;
public static final int RTT_STATUS_FAIL_NO_RSP = 2;
public static final int RTT_STATUS_FAIL_REJECTED = 3;
public static final int RTT_STATUS_FAIL_TM_TIMEOUT = 5;
public static final int RTT_STATUS_SUCCESS = 0;
public static final int RTT_TYPE_11_MC = 4;
public static final int RTT_TYPE_11_V = 2;
public static final int RTT_TYPE_ONE_SIDED = 1;
public static final int RTT_TYPE_UNSPECIFIED = 0;
}