Nearby Messages API는 작은 메시지를 전달할 수 있게 해주는 게시-구독 API입니다.
인터넷에 연결된 안드로이드와 iOS 장치 간의 바이너리 페이로드 기기
같은 네트워크에 있을 필요는 없지만, 컴퓨터가 인터넷에 연결된 경우에만
인터넷
Nearby는 저전력 블루투스를 사용하여 시간 내에 고유한 페어링 코드를 전달합니다.
발생하게 됩니다. 서버는 장치 간 메시지 교환을 용이하게 하여
동일한 페어링 코드를 감지합니다. 기기가 주변 기기에서 페어링 코드를 감지하는 경우
유효성 검사를 위해 Nearby Messages 서버로 페어링 코드를 전송합니다.
애플리케이션에 전달될 메시지가 있는지
확인할 수 있습니다.
Nearby Messages는 인증되지 않았으며 Google 계정이 필요하지 않습니다.
데이터 교환을 위한 정확한 메커니즘은 버전마다 다를 수 있습니다. 이
다음 시퀀스는 메시지 교환으로 이어지는 이벤트를 보여줍니다.
게시 앱에서 바이너리 페이로드 (메시지) 연결을 요청합니다.
고유한 시간 페어링 코드 (토큰)로 대체합니다. 서버에서는
메시지 페이로드와 토큰 간의 연결입니다.
게시 기기는 저전력 블루투스를 사용하여 토큰을 감지 가능하게 만듭니다.
근처 기기에서 작동합니다. 게시 기기는 저전력 블루투스를 사용하여 스캔합니다.
다른 기기의 토큰을
확인할 수 있습니다
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-09-05(UTC)"],[[["Nearby Messages, a publish-subscribe API, enables the exchange of small data payloads between nearby Android and iOS devices over the internet using Bluetooth Low Energy."],["This API, set to be deprecated in December 2023, is unauthenticated, doesn't require a Google account, and leverages a unique pairing code system for device discovery and message delivery."],["Google collects performance metrics, device information, and published message data to improve the service; however, users can control this data collection through their device settings."],["Developers are encouraged to migrate to Nearby Connections for continued support and functionality."]]],[]]