role

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Overview

Package role provides Go bindings for .

Index

Constants

View Source
const (
	RoleAssistant       = consts.RoleAssistant
	RoleBrowser         = consts.RoleBrowser
	RoleCallRedirection = consts.RoleCallRedirection
	RoleCallScreening   = consts.RoleCallScreening
	RoleDialer          = consts.RoleDialer
	RoleEmergency       = consts.RoleEmergency
	RoleHome            = consts.RoleHome
	RoleNotes           = consts.RoleNotes
	RoleSms             = consts.RoleSms
	RoleWallet          = consts.RoleWallet
)

Variables

This section is empty.

Functions

func Init

func Init(env *jni.Env) error

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.

func NewroleManager

func NewroleManager(ctx *app.Context) (*roleManager, error)

NewroleManager obtains android.app.role.RoleManager from the Android system service manager.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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