domain

package
v0.0.8 Latest Latest
Warning

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

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

Documentation

Overview

Package domain provides Go bindings for android.content.pm.verify.domain.

Index

Constants

View Source
const (
	Creator             = consts.Creator
	DomainStateNone     = consts.DomainStateNone
	DomainStateSelected = consts.DomainStateSelected
	DomainStateVerified = consts.DomainStateVerified
)

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.

Types

type VerificationManager

type VerificationManager struct {
	VM  *jni.VM
	Ctx *app.Context
	Obj *jni.GlobalRef
}

VerificationManager wraps android.content.pm.verify.domain.DomainVerificationManager.

func NewVerificationManager

func NewVerificationManager(ctx *app.Context) (*VerificationManager, error)

NewVerificationManager obtains android.content.pm.verify.domain.DomainVerificationManager from the Android system service manager.

func (*VerificationManager) Close

func (m *VerificationManager) Close()

Close releases the global reference to the underlying Java object. After Close, the VerificationManager must not be used.

func (*VerificationManager) GetDomainVerificationUserState

func (m *VerificationManager) GetDomainVerificationUserState(arg0 string) (*jni.Object, error)

GetDomainVerificationUserState calls android.content.pm.verify.domain.DomainVerificationManager.getDomainVerificationUserState.

func (*VerificationManager) ToString added in v0.0.8

func (m *VerificationManager) ToString() (string, error)

ToString calls android.content.pm.verify.domain.DomainVerificationManager.toString.

type VerificationUserState

type VerificationUserState struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

VerificationUserState wraps android.content.pm.verify.domain.DomainVerificationUserState.

func (*VerificationUserState) DescribeContents

func (m *VerificationUserState) DescribeContents() (int32, error)

DescribeContents calls android.content.pm.verify.domain.DomainVerificationUserState.describeContents.

func (*VerificationUserState) Equals

func (m *VerificationUserState) Equals(arg0 *jni.Object) (bool, error)

Equals calls android.content.pm.verify.domain.DomainVerificationUserState.equals.

func (*VerificationUserState) GetPackageName

func (m *VerificationUserState) GetPackageName() (string, error)

GetPackageName calls android.content.pm.verify.domain.DomainVerificationUserState.getPackageName.

func (*VerificationUserState) GetUser

func (m *VerificationUserState) GetUser() (*jni.Object, error)

GetUser calls android.content.pm.verify.domain.DomainVerificationUserState.getUser.

func (*VerificationUserState) HashCode

func (m *VerificationUserState) HashCode() (int32, error)

HashCode calls android.content.pm.verify.domain.DomainVerificationUserState.hashCode.

func (*VerificationUserState) IsLinkHandlingAllowed

func (m *VerificationUserState) IsLinkHandlingAllowed() (bool, error)

IsLinkHandlingAllowed calls android.content.pm.verify.domain.DomainVerificationUserState.isLinkHandlingAllowed.

func (*VerificationUserState) ToString

func (m *VerificationUserState) ToString() (string, error)

ToString calls android.content.pm.verify.domain.DomainVerificationUserState.toString.

func (*VerificationUserState) WriteToParcel

func (m *VerificationUserState) WriteToParcel(arg0 *jni.Object, arg1 int32) error

WriteToParcel calls android.content.pm.verify.domain.DomainVerificationUserState.writeToParcel.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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