Horizon Platform SDK - Android/Kotlin Integration Guide

SkillFiles & storage

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.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Horizon Platform SDK - Android/Kotlin Integration Guide skill

What this skill tells your AI

The instructions your AI receives, as published by meta-quest/agentic-tools in skills/hz-platform-sdk/SKILL.md and read by ahel’s review.

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.

Signals

GitHub stars
193
Forks
16
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
hz-platform-sdk
Source
github.com/meta-quest/agentic-tools