GNSBeaconStrategyParams 類別
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
信標策略的選用參數。在 GNSBeaconStrategy 中查看名稱相同的屬性。
繼承 NSObject。
|
BOOL | includeIBeacons |
|
BOOL | allowInBackground |
|
BOOL | lowPowerPreferred |
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-13 (世界標準時間)。
[null,null,["上次更新時間: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| ||"]]