Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Powiadomienie o wycofaniu: sygnały kontekstowe miejsc i pogody
Za pomocą interfejsu Snapshot API możesz uzyskać informacje o bieżącym środowisku użytkownika. Dzięki Snapshot API masz dostęp do różnych sygnałów kontekstowych:
Wykryto aktywność użytkownika, np. podczas chodzenia lub jazdy samochodem.
Obrazy typu beacon w pobliżu, które zarejestrujesz.
Stan słuchawek podłączony.
Lokalizacja zawierająca szerokość i długość geograficzną.
System zapisuje je w pamięci podręcznej, aby można je było szybko zwrócić. Jeśli nie ma danych, wykrywane i wnioskowane jest zwracanie wartości świeżości.
Interfejs Speech API zwraca istniejący typ danych w przypadku typów kontekstu, które mają publiczny interfejs API.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2023-09-14 UTC."],[[["The Places and Weather contextual signals within the Awareness API are deprecated and have been turned off, with existing implementations restricted until specified dates."],["Developers should utilize the Places SDK for Android instead of the Places contextual signal for new implementations."],["Google does not offer alternative functionality for the Weather contextual signal, impacting existing implementations relying on it."],["The Awareness API continues to provide other contextual signals through the Snapshot API, including user activity, nearby beacons, headphone state, and location."],["Developers can access these signals using corresponding Snapshot API methods and retrieve relevant data for their applications."]]],[]]