hz-platform-sdk

Guides integration of the Horizon Platform SDK for Meta Quest 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.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "hz-platform-sdk" with this command: npx skills add meta-quest/agentic-tools/meta-quest-agentic-tools-hz-platform-sdk

Horizon Platform SDK - Android/Kotlin Integration Guide

When to Use

Use this skill when a developer:

  • Wants to integrate any Horizon Platform SDK feature in a Meta Quest 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).

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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

hzdb-cli

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

hz-unity-code-review

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

hz-new-project-creation

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

hz-vr-debug

No summary provided by upstream source.

Repository SourceNeeds Review