Stay organized with collections
Save and categorize content based on your preferences.
Builder
class Builder
Builder class for creating instances of OobResponderRangingConfig
.
Summary
Public constructors |
Constructs a new Builder instance with the specified DeviceHandle.
|
Public constructors
Builder
Builder(deviceHandle: DeviceHandle)
Constructs a new Builder instance with the specified DeviceHandle.
Parameters |
deviceHandle |
DeviceHandle: The DeviceHandle to associate with this OOB responder. This value cannot be null . |
Public methods
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-03-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-13 UTC."],[],[],null,["# OobResponderRangingConfig.Builder\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nBuilder\n=======\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/ranging/oob/OobResponderRangingConfig.Builder \"View this page in Java\") \n\n```\nclass Builder\n```\n\n|---|------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.ranging.oob.OobResponderRangingConfig.Builder](#) |\n\nBuilder class for creating instances of [OobResponderRangingConfig](/reference/kotlin/android/ranging/oob/OobResponderRangingConfig).\n\nSummary\n-------\n\n| Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [Builder](#Builder(android.ranging.oob.DeviceHandle))`(`deviceHandle:` `[DeviceHandle](/reference/kotlin/android/ranging/oob/DeviceHandle)`)` Constructs a new Builder instance with the specified DeviceHandle. |\n\n| Public methods ||\n|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [OobResponderRangingConfig](/reference/kotlin/android/ranging/oob/OobResponderRangingConfig) | [build](#build())`()` Builds an instance of [OobResponderRangingConfig](/reference/kotlin/android/ranging/oob/OobResponderRangingConfig) with the provided parameters. |\n\nPublic constructors\n-------------------\n\n### Builder\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nBuilder(deviceHandle: DeviceHandle)\n```\n\nConstructs a new Builder instance with the specified DeviceHandle.\n\n| Parameters ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `deviceHandle` | [DeviceHandle](/reference/kotlin/android/ranging/oob/DeviceHandle): The DeviceHandle to associate with this OOB responder. This value cannot be `null`. |\n\nPublic methods\n--------------\n\n### build\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nfun build(): OobResponderRangingConfig\n```\n\nBuilds an instance of [OobResponderRangingConfig](/reference/kotlin/android/ranging/oob/OobResponderRangingConfig) with the provided parameters.\n\n| Return ||\n|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------|\n| [OobResponderRangingConfig](/reference/kotlin/android/ranging/oob/OobResponderRangingConfig) | A new OobResponderRangingParams instance. This value cannot be `null`. |"]]