Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Für Ihre App müssen Berechtigungen für jede verwendete API-Methode erklärt werden. Die erforderlichen Berechtigungen variieren. Das hängt von den API-Methoden und Zauntypen ab, die in Ihrer App verwendet werden. In dieser Dokumentation erfahren Sie, welche Berechtigungen für die einzelnen Methoden erforderlich sind.
Snapshot API
In der folgenden Tabelle sind die Berechtigungen aufgeführt, die für die einzelnen Snapshot API-Methoden erforderlich sind:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-16 (UTC)."],[[["Your app must declare permissions for each Awareness API method used, with specific permissions varying based on the method and fence type."],["Refer to the provided documentation to identify the necessary permissions for each Awareness API method."],["The Snapshot API requires specific permissions for accessing detected activities, beacon state, and location, while headphone state requires no permission."],["The Fence API requires specific permissions for activity, beacon, and location fences, while headphone and time fences require no permission."]]],["Apps must declare permissions for each API method used, varying by method and fence type. The `getDetectedActivity()` Snapshot API method and `DetectedActivityFence` require `android.permission.ACTIVITY_RECOGNITION` and `com.google.android.gms.permission.ACTIVITY_RECOGNITION`. `getBeaconState()`, `getLocation()`, `BeaconFence`, and `LocationFence` require `android.permission.ACCESS_FINE_LOCATION`. `getHeadphoneState()`, `HeadphoneFence`, and `TimeFence` require no specific permissions. Consult the documentation for specific method permission requirements.\n"]]