annotation

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Overview

Package annotation provides Go bindings for android.annotation.

Index

Constants

This section is empty.

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 SuppressLint

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

SuppressLint wraps android.annotation.SuppressLint.

func (*SuppressLint) Value

func (m *SuppressLint) Value() (*jni.Object, error)

Value calls android.annotation.SuppressLint.value.

type TargetApi

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

TargetApi wraps android.annotation.TargetApi.

func (*TargetApi) Value

func (m *TargetApi) Value() (int32, error)

Value calls android.annotation.TargetApi.value.

Jump to

Keyboard shortcuts

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