[NAN] NAN System Api: RTT
am: ab9ef45971
Change-Id: I34039caac1a40a2c26d8a89d5a0d938fa5a4af62
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package android.net.wifi.nan;
|
||||
|
||||
import android.annotation.SystemApi;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ import android.annotation.NonNull;
|
||||
import android.annotation.Nullable;
|
||||
import android.annotation.SdkConstant;
|
||||
import android.annotation.SdkConstant.SdkConstantType;
|
||||
import android.annotation.SystemApi;
|
||||
import android.net.wifi.RttManager;
|
||||
import android.os.Binder;
|
||||
import android.os.Bundle;
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
package android.net.wifi.nan;
|
||||
|
||||
import android.annotation.Nullable;
|
||||
import android.annotation.SystemApi;
|
||||
import android.net.wifi.RttManager;
|
||||
import android.util.Log;
|
||||
|
||||
@@ -167,7 +168,7 @@ public class WifiNanSession {
|
||||
* {@link android.net.wifi.RttManager.RttParams#bssid} member must be set to
|
||||
* a peer ID - not to a MAC address.
|
||||
* @param listener The listener to receive the results of the ranging session.
|
||||
* @hide (RTT API isn't public yet so can't unhide here)
|
||||
* @hide PROPOSED_NAN_SYSTEM_API [TODO: b/28847998 - track RTT API & visilibity]
|
||||
*/
|
||||
public void startRanging(RttManager.RttParams[] params, RttManager.RttListener listener) {
|
||||
if (mTerminated) {
|
||||
|
||||
Reference in New Issue
Block a user