L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Données et recherche · SKILL.md

hz-platform-sdk

hz-platform-sdk

Guides integration of the Horizon Platform SDK for Meta VR and Horizon OS Android/Kotlin apps — achievements, IAP, users, leaderboards, presence, notifications, abuse reporting, entitlements, asset files, application lifecycle, consent, device integrity, language packs, user age categories, and rate and review. Covers setup, initialization, API usage, data …

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: hz-platform-sdk license: Apache-2.0 description: "Guides integration of the Horizon Platform SDK for Meta VR and Horizon OS Android/Kotlin apps — achievements, IAP, users, leaderboards, presence, notifications, abuse reporting, entitlements, asset files, application lifecycle, consent, device integrity, language packs, user age categories, and rate and review. Covers setup, initialization, API usage, data types, error handling, and best practices for all 17 public platform SDK packages. Build paths: Standard Android and Meta Spatial SDK; use hz-psdk-integration for guided integration, hz-unity-platform-sdk for Unity/C#, and hz-quest-verify-first if the path is unclear."

Horizon Platform SDK - Android/Kotlin Integration Guide

This is the API-reference skill for the Standard Android and Meta Spatial SDK Android/Kotlin build paths. For a guided codebase-analysis and integration workflow, use hz-psdk-integration. For Unity/C#, use hz-unity-platform-sdk instead.

When to Use

Use this skill when a developer:

  • Wants to integrate any Horizon Platform SDK feature in a Meta VR Android/Kotlin application
  • Asks about setup, initialization, or dependencies for the SDK
  • Needs help with a specific public platform API (achievements, IAP, users, etc.)
  • Is troubleshooting errors or status codes from any SDK package
  • Asks about HorizonServiceConnection, entitlements, or HzPlatformService

Quick Start

Available APIs

FeatureReferenceDescription
Abuse Reportabuse-reportListen for report button events in the system panel
AchievementsachievementsUnlock, track progress, and query simple/count/bitfield achievements
ApplicationapplicationGet app version, launch other apps, manage self-update downloads
Application Lifecycleapplication-lifecycleDetect launch type, handle deeplinks, log deeplink results
Asset Fileasset-fileList, download, cancel, and delete downloadable asset files (DLC)
ConsentconsentCheck and launch user consent flows
Device Application Integritydevice-application-integrityVerify device and app integrity tokens
EntitlementsentitlementsVerify app purchase legitimacy and user authorization
Group Presencegroup-presenceSet/clear presence, manage sessions, send invites, launch panels
In-App Purchases (IAP)iapRetrieve products, purchase history, checkout flow, consume purchases
Language Packlanguage-packGet/set language packs, track localization downloads
LeaderboardsleaderboardsRetrieve leaderboard info, fetch/write entries with filtering
NotificationsnotificationsSend device notifications with actions and icons
Rate and Reviewrate-and-reviewCheck eligibility and launch the rating/review UI
Rich Presencerich-presenceSet/clear rich presence status and destinations (deprecated; prefer group-presence)
User Age Categoryuser-age-categoryQuery user age group and report age categories
UsersusersRetrieve user profiles, friends, access tokens, identity verification

How to Use

  1. First, read references/common-setup.md for shared setup instructions, initialization code, and common status codes that apply to all APIs.
  2. Then, read the specific reference file for the API you need (e.g., references/iap.md for in-app purchases).
  3. For exact signatures, query the API index instead of guessing: metavr docs api-search "<feature> <operation>", then metavr docs api-details <entry> for the full entry.

Each reference file contains only the package-specific content: API operations, data types, examples, and package-specific notes. The common setup and error codes are centralized in common-setup.md to avoid duplication.

Skills enregistrées