RangingPreference.Builder(Int32, RangingConfig) Constructor
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.
Creates a Builder instance with the required device role and RangingConfig
.
[Android.Runtime.Register(".ctor", "(ILandroid/ranging/RangingConfig;)V", "", ApiSince=36)]
public Builder(int role, Android.Ranging.RangingConfig rangingConfig);
[<Android.Runtime.Register(".ctor", "(ILandroid/ranging/RangingConfig;)V", "", ApiSince=36)>]
new Android.Ranging.RangingPreference.Builder : int * Android.Ranging.RangingConfig -> Android.Ranging.RangingPreference.Builder
Parameters
- role
- Int32
the role of the device in DeviceRole
- rangingConfig
- RangingConfig
the RangingConfig
to use.
Needs to be an instance of one of the following:
<ul>
<li>RawResponderRangingConfig
</li>
<li>RawInitiatorRangingConfig
</li>
<li>OobResponderRangingConfig
</li>
<li>OobInitiatorRangingConfig
</li>
</ul>
- Attributes
Remarks
Creates a Builder instance with the required device role and RangingConfig
.
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.