Discover Packages
github.com/AndroidGoLab/jni
service
restrictions
package
Version:
v0.0.7
Opens a new window with list of versions in this module.
Published: Mar 28, 2026
License: CC0-1.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package restrictions provides Go bindings for android.service.restrictions.
Init resolves all JNI class and method references for this package.
It is safe to call multiple times (uses sync.Once internally).
Exported for E2E testing on Android.
Receiver wraps android.service.restrictions.RestrictionsReceiver.
OnReceive calls android.service.restrictions.RestrictionsReceiver.onReceive.
OnRequestPermission calls android.service.restrictions.RestrictionsReceiver.onRequestPermission.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.