RangingPreference.Builder.SetSessionConfig(SessionConfig) Method
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.
Sets the configuration parameters for the ranging session policy.
[Android.Runtime.Register("setSessionConfig", "(Landroid/ranging/SessionConfig;)Landroid/ranging/RangingPreference$Builder;", "", ApiSince=36)]
public Android.Ranging.RangingPreference.Builder SetSessionConfig(Android.Ranging.SessionConfig config);
[<Android.Runtime.Register("setSessionConfig", "(Landroid/ranging/SessionConfig;)Landroid/ranging/RangingPreference$Builder;", "", ApiSince=36)>]
member this.SetSessionConfig : Android.Ranging.SessionConfig -> Android.Ranging.RangingPreference.Builder
Parameters
- config
- SessionConfig
the SessionConfig. This value cannot be null.
Returns
this Builder instance. This value cannot be null.
- Attributes
Remarks
Sets the configuration parameters for the ranging session policy.
This method allows specifying additional configuration parameters encapsulated in SessionConfig for fine-tuning the behavior of the ranging session.
Android reference for android.ranging.RangingPreference.Builder.setSessionConfig.
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.