GNS StrategiesParams क्लास
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
रणनीति के लिए वैकल्पिक पैरामीटर. GNSStrategy में एक जैसे नाम वाली प्रॉपर्टी देखें.
NSObject को इनहेरिट करता है.
|
GNSDiscoveryMode | discoveryMode |
|
GNSDiscoveryMediums | discoveryMediums |
|
BOOL | allowInBackground |
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-13 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-13 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eGNSStrategyParams\u003c/code\u003e provides optional parameters for customizing a GNSStrategy.\u003c/p\u003e\n"],["\u003cp\u003eThese parameters include discovery mode, discovery mediums, and background detection allowance.\u003c/p\u003e\n"],["\u003cp\u003eThe properties in \u003ccode\u003eGNSStrategyParams\u003c/code\u003e correspond to those in the \u003ccode\u003eGNSStrategy\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# GNSStrategyParams Class\n\n[Properties](#properties) \nGNSStrategyParams Class Reference \n\nOverview\n--------\n\nOptional params for a strategy. See properties with the same names in [GNSStrategy](/nearby/messages/ios/reference/interface_g_n_s_strategy \"The strategy to use to detect nearby devices. \").\n\nInherits NSObject.\n\n|---------------------|-----------------------|\n| Property Summary ---------------- ||\n| GNSDiscoveryMode | **discoveryMode** |\n| ||\n| GNSDiscoveryMediums | **discoveryMediums** |\n| ||\n| BOOL | **allowInBackground** |\n| ||"]]