overview

command
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

PersistableBundle API overview.

Demonstrates the Android PersistableBundle NDK API, which provides a type-safe key-value container that can be serialized to a Parcel for IPC. PersistableBundles support boolean, int32, int64, float64, and string values, as well as nested PersistableBundles.

Available since Android API level 35 (Android 15).

Operations demonstrated:

  • Create a new PersistableBundle
  • Put and get scalar values (bool, int32, int64, float64, string)
  • Query the bundle size
  • Duplicate a bundle and compare with IsEqual
  • Nest one bundle inside another
  • Erase a key
  • Clean up with Close

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL