GNSBeaconStrategyParams 类
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
信标策略的可选参数。请在 GNSBeaconStrategy 中查看具有相同名称的属性。
此类继承 NSObject。
|
BOOL | includeIBeacons |
|
BOOL | allowInBackground |
|
BOOL | lowPowerPreferred |
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-13。
[null,null,["最后更新时间 (UTC):2025-08-13。"],[[["\u003cp\u003e\u003ccode\u003eGNSBeaconStrategyParams\u003c/code\u003e provides optional parameters to customize beacon scanning strategies.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits properties like \u003ccode\u003eincludeIBeacons\u003c/code\u003e, \u003ccode\u003eallowInBackground\u003c/code\u003e, and \u003ccode\u003elowPowerPreferred\u003c/code\u003e from \u003ccode\u003eGNSBeaconStrategy\u003c/code\u003e to fine-tune beacon detection.\u003c/p\u003e\n"],["\u003cp\u003eThese parameters control aspects such as whether to include iBeacons, allow background scanning, and prioritize low power consumption during scanning.\u003c/p\u003e\n"]]],[],null,["# GNSBeaconStrategyParams Class\n\n[Properties](#properties) \nGNSBeaconStrategyParams Class Reference \n\nOverview\n--------\n\nOptional params for a beacon strategy. See properties with the same names in [GNSBeaconStrategy](/nearby/messages/ios/reference/interface_g_n_s_beacon_strategy \"The strategy to use to scan for beacons. \").\n\nInherits NSObject.\n\n|------|-----------------------|\n| Property Summary ---------------- ||\n| BOOL | **includeIBeacons** |\n| ||\n| BOOL | **allowInBackground** |\n| ||\n| BOOL | **lowPowerPreferred** |\n| ||"]]