GNSStrategyParams クラス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
戦略のオプションのパラメータ。同じ名前のプロパティを GNSStrategy で表示します。
NSObject を継承します。
|
GNSDiscoveryMode | discoveryMode |
|
GNSDiscoveryMediums | discoveryMediums |
|
BOOL | allowInBackground |
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 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| ||"]]