GNSStrategyParams 클래스
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
전략의 선택적 매개변수입니다. GNSStrategy에서 이름이 동일한 숙박 시설을 확인합니다.
NSObject를 상속합니다.
|
GNSDiscoveryMode | discoveryMode |
|
GNSDiscoveryMediums | discoveryMediums |
|
BOOL | allowInBackground |
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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| ||"]]