calendar

package
v0.0.6 Latest Latest
Warning

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

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

Documentation

Overview

Package calendar provides Go bindings for android.provider.

Index

Constants

View Source
const (
	AccountTypeLocal                      = consts.AccountTypeLocal
	ActionEventReminder                   = consts.ActionEventReminder
	ActionHandleCustomEvent               = consts.ActionHandleCustomEvent
	ActionViewManagedProfileCalendarEvent = consts.ActionViewManagedProfileCalendarEvent
	Authority                             = consts.Authority
	CallerIsSyncadapter                   = consts.CallerIsSyncadapter
	ExtraCustomAppUri                     = consts.ExtraCustomAppUri
	ExtraEventAllDay                      = consts.ExtraEventAllDay
	ExtraEventBeginTime                   = consts.ExtraEventBeginTime
	ExtraEventEndTime                     = consts.ExtraEventEndTime
	ExtraEventId                          = consts.ExtraEventId
)
View Source
const (
	ContentUri = consts.ContentUri
)

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 Contract added in v0.0.4

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

Contract wraps android.provider.CalendarContract.

func (*Contract) StartViewCalendarEventInManagedProfile added in v0.0.4

func (m *Contract) StartViewCalendarEventInManagedProfile(
	arg0 *jni.Object,
	arg1 int64,
	arg2 int64,
	arg3 int64,
	arg4 bool,
	arg5 int32,
) (bool, error)

StartViewCalendarEventInManagedProfile calls android.provider.CalendarContract.startViewCalendarEventInManagedProfile.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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