CompanionDeviceManager.ExtraDevice Field
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.
A device, returned in the activity result of the IntentSender
received in
Callback#onDeviceFound
Type is:
<ul>
<li>for classic Bluetooth - <code data-dev-comment-type="c">android.bluetooth.BluetoothDevice</code></li>
<li>for Bluetooth LE - <code data-dev-comment-type="c">android.bluetooth.le.ScanResult</code></li>
<li>for WiFi - <code data-dev-comment-type="c">android.net.wifi.ScanResult</code></li>
</ul>
[Android.Runtime.Register("EXTRA_DEVICE", ApiSince=26)]
public const string ExtraDevice;
[<Android.Runtime.Register("EXTRA_DEVICE", ApiSince=26)>]
val mutable ExtraDevice : string
Field Value
- Attributes
Remarks
A device, returned in the activity result of the IntentSender
received in Callback#onDeviceFound
Type is: <ul> <li>for classic Bluetooth - android.bluetooth.BluetoothDevice
</li> <li>for Bluetooth LE - android.bluetooth.le.ScanResult
</li> <li>for WiFi - android.net.wifi.ScanResult
</li> </ul>
This member is deprecated. use AssociationInfo#getAssociatedDevice()
instead.
Java documentation for android.companion.CompanionDeviceManager.EXTRA_DEVICE
.
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.