WifiRttManager.IsAvailable Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the current status of RTT API: whether or not RTT is available.
public virtual bool IsAvailable { [Android.Runtime.Register("isAvailable", "()Z", "GetIsAvailableHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("isAvailable", "()Z", "GetIsAvailableHandler", ApiSince=28)>]
member this.IsAvailable : bool
Property Value
A boolean indicating whether the app can use the RTT API at this time (true) or not (false).
- Attributes
Remarks
Returns the current status of RTT API: whether or not RTT is available. To track changes in the state of RTT API register for the #ACTION_WIFI_RTT_STATE_CHANGED
broadcast.
Note: availability of RTT does not mean that the app can use the API. The app's permissions and platform Location Mode are validated at run-time.
Java documentation for android.net.wifi.rtt.WifiRttManager.isAvailable()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.