ระดับ GNSBeaconStrategyParams
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
พารามิเตอร์ที่ไม่บังคับสำหรับกลยุทธ์บีคอน ดูที่พักที่มีชื่อเดียวกันใน GNSBeaconStrategy
รับค่า NSObject
|
BOOL | includeIBeacons |
|
BOOL | allowInBackground |
|
BOOL | lowPowerPreferred |
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-13 UTC
[null,null,["อัปเดตล่าสุด 2025-08-13 UTC"],[[["\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| ||"]]