notification

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Overview

Package notification provides Go bindings for android.service.notification.

Index

Constants

View Source
const (
	Creator                        = consts.Creator
	AudioAttributesDefault         = consts.AudioAttributesDefault
	BadgeIconLarge                 = consts.BadgeIconLarge
	BadgeIconNone                  = consts.BadgeIconNone
	BadgeIconSmall                 = consts.BadgeIconSmall
	ColorDefault                   = consts.ColorDefault
	DefaultAll                     = consts.DefaultAll
	DefaultLights                  = consts.DefaultLights
	DefaultSound                   = consts.DefaultSound
	DefaultVibrate                 = consts.DefaultVibrate
	FlagAutoCancel                 = consts.FlagAutoCancel
	FlagBubble                     = consts.FlagBubble
	FlagForegroundService          = consts.FlagForegroundService
	FlagGroupSummary               = consts.FlagGroupSummary
	FlagHighPriority               = consts.FlagHighPriority
	FlagInsistent                  = consts.FlagInsistent
	FlagLocalOnly                  = consts.FlagLocalOnly
	FlagNoClear                    = consts.FlagNoClear
	FlagOngoingEvent               = consts.FlagOngoingEvent
	FlagOnlyAlertOnce              = consts.FlagOnlyAlertOnce
	FlagPromotedOngoing            = consts.FlagPromotedOngoing
	FlagShowLights                 = consts.FlagShowLights
	ForegroundServiceDefault       = consts.ForegroundServiceDefault
	ForegroundServiceDeferred      = consts.ForegroundServiceDeferred
	ForegroundServiceImmediate     = consts.ForegroundServiceImmediate
	GroupAlertAll                  = consts.GroupAlertAll
	GroupAlertChildren             = consts.GroupAlertChildren
	GroupAlertSummary              = consts.GroupAlertSummary
	PriorityDefault                = consts.PriorityDefault
	PriorityHigh                   = consts.PriorityHigh
	PriorityLow                    = consts.PriorityLow
	PriorityMax                    = consts.PriorityMax
	PriorityMin                    = consts.PriorityMin
	StreamDefault                  = consts.StreamDefault
	VisibilityPrivate              = consts.VisibilityPrivate
	VisibilityPublic               = consts.VisibilityPublic
	VisibilitySecret               = consts.VisibilitySecret
	AutomaticRuleStatusActivated   = consts.AutomaticRuleStatusActivated
	AutomaticRuleStatusDeactivated = consts.AutomaticRuleStatusDeactivated
	AutomaticRuleStatusDisabled    = consts.AutomaticRuleStatusDisabled
	AutomaticRuleStatusEnabled     = consts.AutomaticRuleStatusEnabled
	AutomaticRuleStatusRemoved     = consts.AutomaticRuleStatusRemoved
	AutomaticRuleStatusUnknown     = consts.AutomaticRuleStatusUnknown
	BubblePreferenceAll            = consts.BubblePreferenceAll
	BubblePreferenceNone           = consts.BubblePreferenceNone
	BubblePreferenceSelected       = consts.BubblePreferenceSelected
	ImportanceDefault              = consts.ImportanceDefault
	ImportanceHigh                 = consts.ImportanceHigh
	ImportanceLow                  = consts.ImportanceLow
	ImportanceMax                  = consts.ImportanceMax
	ImportanceMin                  = consts.ImportanceMin
	ImportanceNone                 = consts.ImportanceNone
	ImportanceUnspecified          = consts.ImportanceUnspecified
	InterruptionFilterAlarms       = consts.InterruptionFilterAlarms
	InterruptionFilterAll          = consts.InterruptionFilterAll
	InterruptionFilterNone         = consts.InterruptionFilterNone
	InterruptionFilterPriority     = consts.InterruptionFilterPriority
	InterruptionFilterUnknown      = consts.InterruptionFilterUnknown
)
View Source
const (
	CategoryAlarm                                   = consts.CategoryAlarm
	CategoryCall                                    = consts.CategoryCall
	CategoryEmail                                   = consts.CategoryEmail
	CategoryError                                   = consts.CategoryError
	CategoryEvent                                   = consts.CategoryEvent
	CategoryLocationSharing                         = consts.CategoryLocationSharing
	CategoryMessage                                 = consts.CategoryMessage
	CategoryMissedCall                              = consts.CategoryMissedCall
	CategoryNavigation                              = consts.CategoryNavigation
	CategoryProgress                                = consts.CategoryProgress
	CategoryPromo                                   = consts.CategoryPromo
	CategoryRecommendation                          = consts.CategoryRecommendation
	CategoryReminder                                = consts.CategoryReminder
	CategoryService                                 = consts.CategoryService
	CategorySocial                                  = consts.CategorySocial
	CategoryStatus                                  = consts.CategoryStatus
	CategoryStopwatch                               = consts.CategoryStopwatch
	CategorySystem                                  = consts.CategorySystem
	CategoryTransport                               = consts.CategoryTransport
	CategoryVoicemail                               = consts.CategoryVoicemail
	CategoryWorkout                                 = consts.CategoryWorkout
	ExtraAnswerColor                                = consts.ExtraAnswerColor
	ExtraAnswerIntent                               = consts.ExtraAnswerIntent
	ExtraAudioContentsUri                           = consts.ExtraAudioContentsUri
	ExtraBackgroundImageUri                         = consts.ExtraBackgroundImageUri
	ExtraBigText                                    = consts.ExtraBigText
	ExtraCallIsVideo                                = consts.ExtraCallIsVideo
	ExtraCallPerson                                 = consts.ExtraCallPerson
	ExtraCallType                                   = consts.ExtraCallType
	ExtraChannelGroupId                             = consts.ExtraChannelGroupId
	ExtraChannelId                                  = consts.ExtraChannelId
	ExtraChronometerCountDown                       = consts.ExtraChronometerCountDown
	ExtraColorized                                  = consts.ExtraColorized
	ExtraCompactActions                             = consts.ExtraCompactActions
	ExtraConversationTitle                          = consts.ExtraConversationTitle
	ExtraDeclineColor                               = consts.ExtraDeclineColor
	ExtraDeclineIntent                              = consts.ExtraDeclineIntent
	ExtraHangUpIntent                               = consts.ExtraHangUpIntent
	ExtraHistoricMessages                           = consts.ExtraHistoricMessages
	ExtraInfoText                                   = consts.ExtraInfoText
	ExtraIsGroupConversation                        = consts.ExtraIsGroupConversation
	ExtraLargeIcon                                  = consts.ExtraLargeIcon
	ExtraLargeIconBig                               = consts.ExtraLargeIconBig
	ExtraMediaSession                               = consts.ExtraMediaSession
	ExtraMessages                                   = consts.ExtraMessages
	ExtraMessagingPerson                            = consts.ExtraMessagingPerson
	ExtraNotificationId                             = consts.ExtraNotificationId
	ExtraNotificationTag                            = consts.ExtraNotificationTag
	ExtraPeople                                     = consts.ExtraPeople
	ExtraPeopleList                                 = consts.ExtraPeopleList
	ExtraPicture                                    = consts.ExtraPicture
	ExtraPictureContentDescription                  = consts.ExtraPictureContentDescription
	ExtraPictureIcon                                = consts.ExtraPictureIcon
	ExtraProgress                                   = consts.ExtraProgress
	ExtraProgressIndeterminate                      = consts.ExtraProgressIndeterminate
	ExtraProgressMax                                = consts.ExtraProgressMax
	ExtraRemoteInputDraft                           = consts.ExtraRemoteInputDraft
	ExtraRemoteInputHistory                         = consts.ExtraRemoteInputHistory
	ExtraSelfDisplayName                            = consts.ExtraSelfDisplayName
	ExtraShowBigPictureWhenCollapsed                = consts.ExtraShowBigPictureWhenCollapsed
	ExtraShowChronometer                            = consts.ExtraShowChronometer
	ExtraShowWhen                                   = consts.ExtraShowWhen
	ExtraSmallIcon                                  = consts.ExtraSmallIcon
	ExtraSubText                                    = consts.ExtraSubText
	ExtraSummaryText                                = consts.ExtraSummaryText
	ExtraTemplate                                   = consts.ExtraTemplate
	ExtraText                                       = consts.ExtraText
	ExtraTextLines                                  = consts.ExtraTextLines
	ExtraTitle                                      = consts.ExtraTitle
	ExtraTitleBig                                   = consts.ExtraTitleBig
	ExtraVerificationIcon                           = consts.ExtraVerificationIcon
	ExtraVerificationText                           = consts.ExtraVerificationText
	IntentCategoryNotificationPreferences           = consts.IntentCategoryNotificationPreferences
	DefaultChannelId                                = consts.DefaultChannelId
	EditConversation                                = consts.EditConversation
	EditImportance                                  = consts.EditImportance
	EditLauncher                                    = consts.EditLauncher
	EditLockedDevice                                = consts.EditLockedDevice
	EditSound                                       = consts.EditSound
	EditVibration                                   = consts.EditVibration
	EditZen                                         = consts.EditZen
	ActionAppBlockStateChanged                      = consts.ActionAppBlockStateChanged
	ActionAutomaticZenRule                          = consts.ActionAutomaticZenRule
	ActionAutomaticZenRuleStatusChanged             = consts.ActionAutomaticZenRuleStatusChanged
	ActionConsolidatedNotificationPolicyChanged     = consts.ActionConsolidatedNotificationPolicyChanged
	ActionInterruptionFilterChanged                 = consts.ActionInterruptionFilterChanged
	ActionNotificationChannelBlockStateChanged      = consts.ActionNotificationChannelBlockStateChanged
	ActionNotificationChannelGroupBlockStateChanged = consts.ActionNotificationChannelGroupBlockStateChanged
	ActionNotificationPolicyAccessGrantedChanged    = consts.ActionNotificationPolicyAccessGrantedChanged
	ActionNotificationPolicyChanged                 = consts.ActionNotificationPolicyChanged
	ExtraAutomaticRuleId                            = consts.ExtraAutomaticRuleId
	ExtraAutomaticZenRuleId                         = consts.ExtraAutomaticZenRuleId
	ExtraAutomaticZenRuleStatus                     = consts.ExtraAutomaticZenRuleStatus
	ExtraBlockedState                               = consts.ExtraBlockedState
	ExtraNotificationChannelGroupId                 = consts.ExtraNotificationChannelGroupId
	ExtraNotificationChannelId                      = consts.ExtraNotificationChannelId
	ExtraNotificationPolicy                         = consts.ExtraNotificationPolicy
	MetaDataAutomaticRuleType                       = consts.MetaDataAutomaticRuleType
	MetaDataRuleInstanceLimit                       = consts.MetaDataRuleInstanceLimit
)

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

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

BigTextStyle wraps android.app.Notification$BigTextStyle.

func (*BigTextStyle) BigText added in v0.0.4

func (m *BigTextStyle) BigText(arg0 string) (*jni.Object, error)

BigText calls android.app.Notification$BigTextStyle.bigText.

func (*BigTextStyle) SetBigContentTitle added in v0.0.4

func (m *BigTextStyle) SetBigContentTitle(arg0 string) (*jni.Object, error)

SetBigContentTitle calls android.app.Notification$BigTextStyle.setBigContentTitle.

func (*BigTextStyle) SetSummaryText added in v0.0.4

func (m *BigTextStyle) SetSummaryText(arg0 string) (*jni.Object, error)

SetSummaryText calls android.app.Notification$BigTextStyle.setSummaryText.

type Builder added in v0.0.4

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

Builder wraps android.app.Notification$Builder.

func NewBuilder added in v0.0.4

func NewBuilder(vm *jni.VM, context *jni.Object, channelID string) (*Builder, error)

NewBuilder creates a new android.app.Notification$Builder(context, channelID).

func (*Builder) AddAction1 added in v0.0.4

func (m *Builder) AddAction1(arg0 *jni.Object) (*jni.Object, error)

AddAction1 calls android.app.Notification$Builder.addAction.

func (*Builder) AddAction3_1 added in v0.0.4

func (m *Builder) AddAction3_1(
	arg0 int32,
	arg1 string,
	arg2 *jni.Object,
) (*jni.Object, error)

AddAction3_1 calls android.app.Notification$Builder.addAction.

func (*Builder) AddExtras added in v0.0.4

func (m *Builder) AddExtras(arg0 *jni.Object) (*jni.Object, error)

AddExtras calls android.app.Notification$Builder.addExtras.

func (*Builder) AddPerson1 added in v0.0.4

func (m *Builder) AddPerson1(arg0 *jni.Object) (*jni.Object, error)

AddPerson1 calls android.app.Notification$Builder.addPerson.

func (*Builder) AddPerson1_1 added in v0.0.4

func (m *Builder) AddPerson1_1(arg0 string) (*jni.Object, error)

AddPerson1_1 calls android.app.Notification$Builder.addPerson.

func (*Builder) Build added in v0.0.4

func (m *Builder) Build() (*jni.Object, error)

Build calls android.app.Notification$Builder.build.

func (*Builder) CreateBigContentView added in v0.0.4

func (m *Builder) CreateBigContentView() (*jni.Object, error)

CreateBigContentView calls android.app.Notification$Builder.createBigContentView.

func (*Builder) CreateContentView added in v0.0.4

func (m *Builder) CreateContentView() (*jni.Object, error)

CreateContentView calls android.app.Notification$Builder.createContentView.

func (*Builder) CreateHeadsUpContentView added in v0.0.4

func (m *Builder) CreateHeadsUpContentView() (*jni.Object, error)

CreateHeadsUpContentView calls android.app.Notification$Builder.createHeadsUpContentView.

func (*Builder) Extend added in v0.0.4

func (m *Builder) Extend(arg0 *jni.Object) (*jni.Object, error)

Extend calls android.app.Notification$Builder.extend.

func (*Builder) GetExtras added in v0.0.4

func (m *Builder) GetExtras() (*jni.Object, error)

GetExtras calls android.app.Notification$Builder.getExtras.

func (*Builder) GetNotification added in v0.0.4

func (m *Builder) GetNotification() (*jni.Object, error)

GetNotification calls android.app.Notification$Builder.getNotification.

func (*Builder) GetStyle added in v0.0.4

func (m *Builder) GetStyle() (*jni.Object, error)

GetStyle calls android.app.Notification$Builder.getStyle.

func (*Builder) RecoverBuilder added in v0.0.4

func (m *Builder) RecoverBuilder(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

RecoverBuilder calls android.app.Notification$Builder.recoverBuilder.

func (*Builder) SetActions added in v0.0.4

func (m *Builder) SetActions(arg0 *jni.Object) (*jni.Object, error)

SetActions calls android.app.Notification$Builder.setActions.

func (*Builder) SetAllowSystemGeneratedContextualActions added in v0.0.4

func (m *Builder) SetAllowSystemGeneratedContextualActions(arg0 bool) (*jni.Object, error)

SetAllowSystemGeneratedContextualActions calls android.app.Notification$Builder.setAllowSystemGeneratedContextualActions.

func (*Builder) SetAutoCancel added in v0.0.4

func (m *Builder) SetAutoCancel(arg0 bool) (*jni.Object, error)

SetAutoCancel calls android.app.Notification$Builder.setAutoCancel.

func (*Builder) SetBadgeIconType added in v0.0.4

func (m *Builder) SetBadgeIconType(arg0 int32) (*jni.Object, error)

SetBadgeIconType calls android.app.Notification$Builder.setBadgeIconType.

func (*Builder) SetBubbleMetadata added in v0.0.4

func (m *Builder) SetBubbleMetadata(arg0 *jni.Object) (*jni.Object, error)

SetBubbleMetadata calls android.app.Notification$Builder.setBubbleMetadata.

func (*Builder) SetCategory added in v0.0.4

func (m *Builder) SetCategory(arg0 string) (*jni.Object, error)

SetCategory calls android.app.Notification$Builder.setCategory.

func (*Builder) SetChannelId added in v0.0.4

func (m *Builder) SetChannelId(arg0 string) (*jni.Object, error)

SetChannelId calls android.app.Notification$Builder.setChannelId.

func (*Builder) SetChronometerCountDown added in v0.0.4

func (m *Builder) SetChronometerCountDown(arg0 bool) (*jni.Object, error)

SetChronometerCountDown calls android.app.Notification$Builder.setChronometerCountDown.

func (*Builder) SetColor added in v0.0.4

func (m *Builder) SetColor(arg0 int32) (*jni.Object, error)

SetColor calls android.app.Notification$Builder.setColor.

func (*Builder) SetColorized added in v0.0.4

func (m *Builder) SetColorized(arg0 bool) (*jni.Object, error)

SetColorized calls android.app.Notification$Builder.setColorized.

func (*Builder) SetContent added in v0.0.4

func (m *Builder) SetContent(arg0 *jni.Object) (*jni.Object, error)

SetContent calls android.app.Notification$Builder.setContent.

func (*Builder) SetContentInfo added in v0.0.4

func (m *Builder) SetContentInfo(arg0 string) (*jni.Object, error)

SetContentInfo calls android.app.Notification$Builder.setContentInfo.

func (*Builder) SetContentIntent added in v0.0.4

func (m *Builder) SetContentIntent(arg0 *jni.Object) (*jni.Object, error)

SetContentIntent calls android.app.Notification$Builder.setContentIntent.

func (*Builder) SetContentText added in v0.0.4

func (m *Builder) SetContentText(arg0 string) (*jni.Object, error)

SetContentText calls android.app.Notification$Builder.setContentText.

func (*Builder) SetContentTitle added in v0.0.4

func (m *Builder) SetContentTitle(arg0 string) (*jni.Object, error)

SetContentTitle calls android.app.Notification$Builder.setContentTitle.

func (*Builder) SetCustomBigContentView added in v0.0.4

func (m *Builder) SetCustomBigContentView(arg0 *jni.Object) (*jni.Object, error)

SetCustomBigContentView calls android.app.Notification$Builder.setCustomBigContentView.

func (*Builder) SetCustomContentView added in v0.0.4

func (m *Builder) SetCustomContentView(arg0 *jni.Object) (*jni.Object, error)

SetCustomContentView calls android.app.Notification$Builder.setCustomContentView.

func (*Builder) SetCustomHeadsUpContentView added in v0.0.4

func (m *Builder) SetCustomHeadsUpContentView(arg0 *jni.Object) (*jni.Object, error)

SetCustomHeadsUpContentView calls android.app.Notification$Builder.setCustomHeadsUpContentView.

func (*Builder) SetDefaults added in v0.0.4

func (m *Builder) SetDefaults(arg0 int32) (*jni.Object, error)

SetDefaults calls android.app.Notification$Builder.setDefaults.

func (*Builder) SetDeleteIntent added in v0.0.4

func (m *Builder) SetDeleteIntent(arg0 *jni.Object) (*jni.Object, error)

SetDeleteIntent calls android.app.Notification$Builder.setDeleteIntent.

func (*Builder) SetExtras added in v0.0.4

func (m *Builder) SetExtras(arg0 *jni.Object) (*jni.Object, error)

SetExtras calls android.app.Notification$Builder.setExtras.

func (*Builder) SetFlag added in v0.0.4

func (m *Builder) SetFlag(arg0 int32, arg1 bool) (*jni.Object, error)

SetFlag calls android.app.Notification$Builder.setFlag.

func (*Builder) SetForegroundServiceBehavior added in v0.0.4

func (m *Builder) SetForegroundServiceBehavior(arg0 int32) (*jni.Object, error)

SetForegroundServiceBehavior calls android.app.Notification$Builder.setForegroundServiceBehavior.

func (*Builder) SetFullScreenIntent added in v0.0.4

func (m *Builder) SetFullScreenIntent(arg0 *jni.Object, arg1 bool) (*jni.Object, error)

SetFullScreenIntent calls android.app.Notification$Builder.setFullScreenIntent.

func (*Builder) SetGroup added in v0.0.4

func (m *Builder) SetGroup(arg0 string) (*jni.Object, error)

SetGroup calls android.app.Notification$Builder.setGroup.

func (*Builder) SetGroupAlertBehavior added in v0.0.4

func (m *Builder) SetGroupAlertBehavior(arg0 int32) (*jni.Object, error)

SetGroupAlertBehavior calls android.app.Notification$Builder.setGroupAlertBehavior.

func (*Builder) SetGroupSummary added in v0.0.4

func (m *Builder) SetGroupSummary(arg0 bool) (*jni.Object, error)

SetGroupSummary calls android.app.Notification$Builder.setGroupSummary.

func (*Builder) SetLargeIcon1 added in v0.0.4

func (m *Builder) SetLargeIcon1(arg0 *jni.Object) (*jni.Object, error)

SetLargeIcon1 calls android.app.Notification$Builder.setLargeIcon.

func (*Builder) SetLargeIcon1_1 added in v0.0.4

func (m *Builder) SetLargeIcon1_1(arg0 *jni.Object) (*jni.Object, error)

SetLargeIcon1_1 calls android.app.Notification$Builder.setLargeIcon.

func (*Builder) SetLights added in v0.0.4

func (m *Builder) SetLights(
	arg0 int32,
	arg1 int32,
	arg2 int32,
) (*jni.Object, error)

SetLights calls android.app.Notification$Builder.setLights.

func (*Builder) SetLocalOnly added in v0.0.4

func (m *Builder) SetLocalOnly(arg0 bool) (*jni.Object, error)

SetLocalOnly calls android.app.Notification$Builder.setLocalOnly.

func (*Builder) SetLocusId added in v0.0.4

func (m *Builder) SetLocusId(arg0 *jni.Object) (*jni.Object, error)

SetLocusId calls android.app.Notification$Builder.setLocusId.

func (*Builder) SetNumber added in v0.0.4

func (m *Builder) SetNumber(arg0 int32) (*jni.Object, error)

SetNumber calls android.app.Notification$Builder.setNumber.

func (*Builder) SetOngoing added in v0.0.4

func (m *Builder) SetOngoing(arg0 bool) (*jni.Object, error)

SetOngoing calls android.app.Notification$Builder.setOngoing.

func (*Builder) SetOnlyAlertOnce added in v0.0.4

func (m *Builder) SetOnlyAlertOnce(arg0 bool) (*jni.Object, error)

SetOnlyAlertOnce calls android.app.Notification$Builder.setOnlyAlertOnce.

func (*Builder) SetPriority added in v0.0.4

func (m *Builder) SetPriority(arg0 int32) (*jni.Object, error)

SetPriority calls android.app.Notification$Builder.setPriority.

func (*Builder) SetProgress added in v0.0.4

func (m *Builder) SetProgress(
	arg0 int32,
	arg1 int32,
	arg2 bool,
) (*jni.Object, error)

SetProgress calls android.app.Notification$Builder.setProgress.

func (*Builder) SetPublicVersion added in v0.0.4

func (m *Builder) SetPublicVersion(arg0 *jni.Object) (*jni.Object, error)

SetPublicVersion calls android.app.Notification$Builder.setPublicVersion.

func (*Builder) SetRemoteInputHistory added in v0.0.4

func (m *Builder) SetRemoteInputHistory(arg0 *jni.Object) (*jni.Object, error)

SetRemoteInputHistory calls android.app.Notification$Builder.setRemoteInputHistory.

func (*Builder) SetSettingsText added in v0.0.4

func (m *Builder) SetSettingsText(arg0 string) (*jni.Object, error)

SetSettingsText calls android.app.Notification$Builder.setSettingsText.

func (*Builder) SetShortCriticalText added in v0.0.4

func (m *Builder) SetShortCriticalText(arg0 string) (*jni.Object, error)

SetShortCriticalText calls android.app.Notification$Builder.setShortCriticalText.

func (*Builder) SetShortcutId added in v0.0.4

func (m *Builder) SetShortcutId(arg0 string) (*jni.Object, error)

SetShortcutId calls android.app.Notification$Builder.setShortcutId.

func (*Builder) SetShowWhen added in v0.0.4

func (m *Builder) SetShowWhen(arg0 bool) (*jni.Object, error)

SetShowWhen calls android.app.Notification$Builder.setShowWhen.

func (*Builder) SetSmallIcon1 added in v0.0.4

func (m *Builder) SetSmallIcon1(arg0 *jni.Object) (*jni.Object, error)

SetSmallIcon1 calls android.app.Notification$Builder.setSmallIcon.

func (*Builder) SetSmallIcon1_1 added in v0.0.4

func (m *Builder) SetSmallIcon1_1(arg0 int32) (*jni.Object, error)

SetSmallIcon1_1 calls android.app.Notification$Builder.setSmallIcon.

func (*Builder) SetSmallIcon2_2 added in v0.0.4

func (m *Builder) SetSmallIcon2_2(arg0 int32, arg1 int32) (*jni.Object, error)

SetSmallIcon2_2 calls android.app.Notification$Builder.setSmallIcon.

func (*Builder) SetSortKey added in v0.0.4

func (m *Builder) SetSortKey(arg0 string) (*jni.Object, error)

SetSortKey calls android.app.Notification$Builder.setSortKey.

func (*Builder) SetSound1 added in v0.0.4

func (m *Builder) SetSound1(arg0 *jni.Object) (*jni.Object, error)

SetSound1 calls android.app.Notification$Builder.setSound.

func (*Builder) SetSound2_1 added in v0.0.4

func (m *Builder) SetSound2_1(arg0 *jni.Object, arg1 *jni.Object) (*jni.Object, error)

SetSound2_1 calls android.app.Notification$Builder.setSound.

func (*Builder) SetSound2_2 added in v0.0.4

func (m *Builder) SetSound2_2(arg0 *jni.Object, arg1 int32) (*jni.Object, error)

SetSound2_2 calls android.app.Notification$Builder.setSound.

func (*Builder) SetStyle added in v0.0.4

func (m *Builder) SetStyle(arg0 *jni.Object) (*jni.Object, error)

SetStyle calls android.app.Notification$Builder.setStyle.

func (*Builder) SetSubText added in v0.0.4

func (m *Builder) SetSubText(arg0 string) (*jni.Object, error)

SetSubText calls android.app.Notification$Builder.setSubText.

func (*Builder) SetTicker1 added in v0.0.4

func (m *Builder) SetTicker1(arg0 string) (*jni.Object, error)

SetTicker1 calls android.app.Notification$Builder.setTicker.

func (*Builder) SetTicker2_1 added in v0.0.4

func (m *Builder) SetTicker2_1(arg0 string, arg1 *jni.Object) (*jni.Object, error)

SetTicker2_1 calls android.app.Notification$Builder.setTicker.

func (*Builder) SetTimeoutAfter added in v0.0.4

func (m *Builder) SetTimeoutAfter(arg0 int64) (*jni.Object, error)

SetTimeoutAfter calls android.app.Notification$Builder.setTimeoutAfter.

func (*Builder) SetUsesChronometer added in v0.0.4

func (m *Builder) SetUsesChronometer(arg0 bool) (*jni.Object, error)

SetUsesChronometer calls android.app.Notification$Builder.setUsesChronometer.

func (*Builder) SetVibrate added in v0.0.4

func (m *Builder) SetVibrate(arg0 *jni.Object) (*jni.Object, error)

SetVibrate calls android.app.Notification$Builder.setVibrate.

func (*Builder) SetVisibility added in v0.0.4

func (m *Builder) SetVisibility(arg0 int32) (*jni.Object, error)

SetVisibility calls android.app.Notification$Builder.setVisibility.

func (*Builder) SetWhen added in v0.0.4

func (m *Builder) SetWhen(arg0 int64) (*jni.Object, error)

SetWhen calls android.app.Notification$Builder.setWhen.

type Channel added in v0.0.4

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

Channel wraps android.app.NotificationChannel.

func NewChannel added in v0.0.4

func NewChannel(vm *jni.VM, id, name string, importance int32) (*Channel, error)

NewChannel creates a new android.app.NotificationChannel(id, name, importance).

func (*Channel) CanBubble added in v0.0.4

func (m *Channel) CanBubble() (bool, error)

CanBubble calls android.app.NotificationChannel.canBubble.

func (*Channel) CanBypassDnd added in v0.0.4

func (m *Channel) CanBypassDnd() (bool, error)

CanBypassDnd calls android.app.NotificationChannel.canBypassDnd.

func (*Channel) CanShowBadge added in v0.0.4

func (m *Channel) CanShowBadge() (bool, error)

CanShowBadge calls android.app.NotificationChannel.canShowBadge.

func (*Channel) DescribeContents added in v0.0.4

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

DescribeContents calls android.app.NotificationChannel.describeContents.

func (*Channel) EnableLights added in v0.0.4

func (m *Channel) EnableLights(arg0 bool) error

EnableLights calls android.app.NotificationChannel.enableLights.

func (*Channel) EnableVibration added in v0.0.4

func (m *Channel) EnableVibration(arg0 bool) error

EnableVibration calls android.app.NotificationChannel.enableVibration.

func (*Channel) Equals added in v0.0.4

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

Equals calls android.app.NotificationChannel.equals.

func (*Channel) GetAudioAttributes added in v0.0.4

func (m *Channel) GetAudioAttributes() (*jni.Object, error)

GetAudioAttributes calls android.app.NotificationChannel.getAudioAttributes.

func (*Channel) GetConversationId added in v0.0.4

func (m *Channel) GetConversationId() (string, error)

GetConversationId calls android.app.NotificationChannel.getConversationId.

func (*Channel) GetDescription added in v0.0.4

func (m *Channel) GetDescription() (string, error)

GetDescription calls android.app.NotificationChannel.getDescription.

func (*Channel) GetGroup added in v0.0.4

func (m *Channel) GetGroup() (string, error)

GetGroup calls android.app.NotificationChannel.getGroup.

func (*Channel) GetId added in v0.0.4

func (m *Channel) GetId() (string, error)

GetId calls android.app.NotificationChannel.getId.

func (*Channel) GetImportance added in v0.0.4

func (m *Channel) GetImportance() (int32, error)

GetImportance calls android.app.NotificationChannel.getImportance.

func (*Channel) GetLightColor added in v0.0.4

func (m *Channel) GetLightColor() (int32, error)

GetLightColor calls android.app.NotificationChannel.getLightColor.

func (*Channel) GetLockscreenVisibility added in v0.0.4

func (m *Channel) GetLockscreenVisibility() (int32, error)

GetLockscreenVisibility calls android.app.NotificationChannel.getLockscreenVisibility.

func (*Channel) GetName added in v0.0.4

func (m *Channel) GetName() (string, error)

GetName calls android.app.NotificationChannel.getName.

func (*Channel) GetParentChannelId added in v0.0.4

func (m *Channel) GetParentChannelId() (string, error)

GetParentChannelId calls android.app.NotificationChannel.getParentChannelId.

func (*Channel) GetSound added in v0.0.4

func (m *Channel) GetSound() (*jni.Object, error)

GetSound calls android.app.NotificationChannel.getSound.

func (*Channel) GetVibrationEffect added in v0.0.4

func (m *Channel) GetVibrationEffect() (*jni.Object, error)

GetVibrationEffect calls android.app.NotificationChannel.getVibrationEffect.

func (*Channel) GetVibrationPattern added in v0.0.4

func (m *Channel) GetVibrationPattern() (*jni.Object, error)

GetVibrationPattern calls android.app.NotificationChannel.getVibrationPattern.

func (*Channel) HasUserSetImportance added in v0.0.4

func (m *Channel) HasUserSetImportance() (bool, error)

HasUserSetImportance calls android.app.NotificationChannel.hasUserSetImportance.

func (*Channel) HasUserSetSound added in v0.0.4

func (m *Channel) HasUserSetSound() (bool, error)

HasUserSetSound calls android.app.NotificationChannel.hasUserSetSound.

func (*Channel) HashCode added in v0.0.4

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

HashCode calls android.app.NotificationChannel.hashCode.

func (*Channel) IsBlockable added in v0.0.4

func (m *Channel) IsBlockable() (bool, error)

IsBlockable calls android.app.NotificationChannel.isBlockable.

func (*Channel) IsConversation added in v0.0.4

func (m *Channel) IsConversation() (bool, error)

IsConversation calls android.app.NotificationChannel.isConversation.

func (*Channel) IsDemoted added in v0.0.4

func (m *Channel) IsDemoted() (bool, error)

IsDemoted calls android.app.NotificationChannel.isDemoted.

func (*Channel) IsImportantConversation added in v0.0.4

func (m *Channel) IsImportantConversation() (bool, error)

IsImportantConversation calls android.app.NotificationChannel.isImportantConversation.

func (*Channel) SetAllowBubbles added in v0.0.4

func (m *Channel) SetAllowBubbles(arg0 bool) error

SetAllowBubbles calls android.app.NotificationChannel.setAllowBubbles.

func (*Channel) SetBlockable added in v0.0.4

func (m *Channel) SetBlockable(arg0 bool) error

SetBlockable calls android.app.NotificationChannel.setBlockable.

func (*Channel) SetBypassDnd added in v0.0.4

func (m *Channel) SetBypassDnd(arg0 bool) error

SetBypassDnd calls android.app.NotificationChannel.setBypassDnd.

func (*Channel) SetConversationId added in v0.0.4

func (m *Channel) SetConversationId(arg0 string, arg1 string) error

SetConversationId calls android.app.NotificationChannel.setConversationId.

func (*Channel) SetDescription added in v0.0.4

func (m *Channel) SetDescription(arg0 string) error

SetDescription calls android.app.NotificationChannel.setDescription.

func (*Channel) SetGroup added in v0.0.4

func (m *Channel) SetGroup(arg0 string) error

SetGroup calls android.app.NotificationChannel.setGroup.

func (*Channel) SetImportance added in v0.0.4

func (m *Channel) SetImportance(arg0 int32) error

SetImportance calls android.app.NotificationChannel.setImportance.

func (*Channel) SetLightColor added in v0.0.4

func (m *Channel) SetLightColor(arg0 int32) error

SetLightColor calls android.app.NotificationChannel.setLightColor.

func (*Channel) SetLockscreenVisibility added in v0.0.4

func (m *Channel) SetLockscreenVisibility(arg0 int32) error

SetLockscreenVisibility calls android.app.NotificationChannel.setLockscreenVisibility.

func (*Channel) SetName added in v0.0.4

func (m *Channel) SetName(arg0 string) error

SetName calls android.app.NotificationChannel.setName.

func (*Channel) SetShowBadge added in v0.0.4

func (m *Channel) SetShowBadge(arg0 bool) error

SetShowBadge calls android.app.NotificationChannel.setShowBadge.

func (*Channel) SetSound added in v0.0.4

func (m *Channel) SetSound(arg0 *jni.Object, arg1 *jni.Object) error

SetSound calls android.app.NotificationChannel.setSound.

func (*Channel) SetVibrationEffect added in v0.0.4

func (m *Channel) SetVibrationEffect(arg0 *jni.Object) error

SetVibrationEffect calls android.app.NotificationChannel.setVibrationEffect.

func (*Channel) SetVibrationPattern added in v0.0.4

func (m *Channel) SetVibrationPattern(arg0 *jni.Object) error

SetVibrationPattern calls android.app.NotificationChannel.setVibrationPattern.

func (*Channel) ShouldShowLights added in v0.0.4

func (m *Channel) ShouldShowLights() (bool, error)

ShouldShowLights calls android.app.NotificationChannel.shouldShowLights.

func (*Channel) ShouldVibrate added in v0.0.4

func (m *Channel) ShouldVibrate() (bool, error)

ShouldVibrate calls android.app.NotificationChannel.shouldVibrate.

func (*Channel) ToString added in v0.0.4

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

ToString calls android.app.NotificationChannel.toString.

func (*Channel) WriteToParcel added in v0.0.4

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

WriteToParcel calls android.app.NotificationChannel.writeToParcel.

type Manager added in v0.0.4

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

Manager wraps android.app.NotificationManager.

func NewManager added in v0.0.4

func NewManager(ctx *app.Context) (*Manager, error)

NewManager obtains android.app.NotificationManager from the Android system service manager.

func (*Manager) AddAutomaticZenRule added in v0.0.4

func (m *Manager) AddAutomaticZenRule(arg0 *jni.Object) (string, error)

AddAutomaticZenRule calls android.app.NotificationManager.addAutomaticZenRule.

func (*Manager) AreAutomaticZenRulesUserManaged added in v0.0.4

func (m *Manager) AreAutomaticZenRulesUserManaged() (bool, error)

AreAutomaticZenRulesUserManaged calls android.app.NotificationManager.areAutomaticZenRulesUserManaged.

func (*Manager) AreBubblesAllowed added in v0.0.4

func (m *Manager) AreBubblesAllowed() (bool, error)

AreBubblesAllowed calls android.app.NotificationManager.areBubblesAllowed.

func (*Manager) AreBubblesEnabled added in v0.0.4

func (m *Manager) AreBubblesEnabled() (bool, error)

AreBubblesEnabled calls android.app.NotificationManager.areBubblesEnabled.

func (*Manager) AreNotificationsEnabled added in v0.0.4

func (m *Manager) AreNotificationsEnabled() (bool, error)

AreNotificationsEnabled calls android.app.NotificationManager.areNotificationsEnabled.

func (*Manager) AreNotificationsPaused added in v0.0.4

func (m *Manager) AreNotificationsPaused() (bool, error)

AreNotificationsPaused calls android.app.NotificationManager.areNotificationsPaused.

func (*Manager) CanNotifyAsPackage added in v0.0.4

func (m *Manager) CanNotifyAsPackage(arg0 string) (bool, error)

CanNotifyAsPackage calls android.app.NotificationManager.canNotifyAsPackage.

func (*Manager) CanPostPromotedNotifications added in v0.0.4

func (m *Manager) CanPostPromotedNotifications() (bool, error)

CanPostPromotedNotifications calls android.app.NotificationManager.canPostPromotedNotifications.

func (*Manager) CanUseFullScreenIntent added in v0.0.4

func (m *Manager) CanUseFullScreenIntent() (bool, error)

CanUseFullScreenIntent calls android.app.NotificationManager.canUseFullScreenIntent.

func (*Manager) Cancel1 added in v0.0.4

func (m *Manager) Cancel1(arg0 int32) error

Cancel1 calls android.app.NotificationManager.cancel.

func (*Manager) Cancel2_1 added in v0.0.4

func (m *Manager) Cancel2_1(arg0 string, arg1 int32) error

Cancel2_1 calls android.app.NotificationManager.cancel.

func (*Manager) CancelAll added in v0.0.4

func (m *Manager) CancelAll() error

CancelAll calls android.app.NotificationManager.cancelAll.

func (*Manager) CancelAsPackage added in v0.0.4

func (m *Manager) CancelAsPackage(
	arg0 string,
	arg1 string,
	arg2 int32,
) error

CancelAsPackage calls android.app.NotificationManager.cancelAsPackage.

func (*Manager) Close added in v0.0.4

func (m *Manager) Close()

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

func (*Manager) CreateNotificationChannel added in v0.0.4

func (m *Manager) CreateNotificationChannel(arg0 *jni.Object) error

CreateNotificationChannel calls android.app.NotificationManager.createNotificationChannel.

func (*Manager) CreateNotificationChannelGroup added in v0.0.4

func (m *Manager) CreateNotificationChannelGroup(arg0 *jni.Object) error

CreateNotificationChannelGroup calls android.app.NotificationManager.createNotificationChannelGroup.

func (*Manager) CreateNotificationChannelGroups added in v0.0.4

func (m *Manager) CreateNotificationChannelGroups(arg0 *jni.Object) error

CreateNotificationChannelGroups calls android.app.NotificationManager.createNotificationChannelGroups.

func (*Manager) CreateNotificationChannels added in v0.0.4

func (m *Manager) CreateNotificationChannels(arg0 *jni.Object) error

CreateNotificationChannels calls android.app.NotificationManager.createNotificationChannels.

func (*Manager) DeleteNotificationChannel added in v0.0.4

func (m *Manager) DeleteNotificationChannel(arg0 string) error

DeleteNotificationChannel calls android.app.NotificationManager.deleteNotificationChannel.

func (*Manager) DeleteNotificationChannelGroup added in v0.0.4

func (m *Manager) DeleteNotificationChannelGroup(arg0 string) error

DeleteNotificationChannelGroup calls android.app.NotificationManager.deleteNotificationChannelGroup.

func (*Manager) GetActiveNotifications added in v0.0.4

func (m *Manager) GetActiveNotifications() (*jni.Object, error)

GetActiveNotifications calls android.app.NotificationManager.getActiveNotifications.

func (*Manager) GetAutomaticZenRule added in v0.0.4

func (m *Manager) GetAutomaticZenRule(arg0 string) (*jni.Object, error)

GetAutomaticZenRule calls android.app.NotificationManager.getAutomaticZenRule.

func (*Manager) GetAutomaticZenRuleState added in v0.0.4

func (m *Manager) GetAutomaticZenRuleState(arg0 string) (int32, error)

GetAutomaticZenRuleState calls android.app.NotificationManager.getAutomaticZenRuleState.

func (*Manager) GetBubblePreference added in v0.0.4

func (m *Manager) GetBubblePreference() (int32, error)

GetBubblePreference calls android.app.NotificationManager.getBubblePreference.

func (*Manager) GetConsolidatedNotificationPolicy added in v0.0.4

func (m *Manager) GetConsolidatedNotificationPolicy() (*jni.Object, error)

GetConsolidatedNotificationPolicy calls android.app.NotificationManager.getConsolidatedNotificationPolicy.

func (*Manager) GetCurrentInterruptionFilter added in v0.0.4

func (m *Manager) GetCurrentInterruptionFilter() (int32, error)

GetCurrentInterruptionFilter calls android.app.NotificationManager.getCurrentInterruptionFilter.

func (*Manager) GetImportance added in v0.0.4

func (m *Manager) GetImportance() (int32, error)

GetImportance calls android.app.NotificationManager.getImportance.

func (*Manager) GetNotificationChannel1 added in v0.0.4

func (m *Manager) GetNotificationChannel1(arg0 string) (*jni.Object, error)

GetNotificationChannel1 calls android.app.NotificationManager.getNotificationChannel.

func (*Manager) GetNotificationChannel2_1 added in v0.0.4

func (m *Manager) GetNotificationChannel2_1(arg0 string, arg1 string) (*jni.Object, error)

GetNotificationChannel2_1 calls android.app.NotificationManager.getNotificationChannel.

func (*Manager) GetNotificationChannelGroup added in v0.0.4

func (m *Manager) GetNotificationChannelGroup(arg0 string) (*jni.Object, error)

GetNotificationChannelGroup calls android.app.NotificationManager.getNotificationChannelGroup.

func (*Manager) GetNotificationChannelGroups added in v0.0.4

func (m *Manager) GetNotificationChannelGroups() (*jni.Object, error)

GetNotificationChannelGroups calls android.app.NotificationManager.getNotificationChannelGroups.

func (*Manager) GetNotificationChannels added in v0.0.4

func (m *Manager) GetNotificationChannels() (*jni.Object, error)

GetNotificationChannels calls android.app.NotificationManager.getNotificationChannels.

func (*Manager) GetNotificationDelegate added in v0.0.4

func (m *Manager) GetNotificationDelegate() (string, error)

GetNotificationDelegate calls android.app.NotificationManager.getNotificationDelegate.

func (*Manager) GetNotificationPolicy added in v0.0.4

func (m *Manager) GetNotificationPolicy() (*jni.Object, error)

GetNotificationPolicy calls android.app.NotificationManager.getNotificationPolicy.

func (*Manager) IsNotificationListenerAccessGranted added in v0.0.4

func (m *Manager) IsNotificationListenerAccessGranted(arg0 *jni.Object) (bool, error)

IsNotificationListenerAccessGranted calls android.app.NotificationManager.isNotificationListenerAccessGranted.

func (*Manager) IsNotificationPolicyAccessGranted added in v0.0.4

func (m *Manager) IsNotificationPolicyAccessGranted() (bool, error)

IsNotificationPolicyAccessGranted calls android.app.NotificationManager.isNotificationPolicyAccessGranted.

func (*Manager) MatchesCallFilter added in v0.0.4

func (m *Manager) MatchesCallFilter(arg0 *jni.Object) (bool, error)

MatchesCallFilter calls android.app.NotificationManager.matchesCallFilter.

func (*Manager) Notify2 added in v0.0.4

func (m *Manager) Notify2(arg0 int32, arg1 *jni.Object) error

Notify2 calls android.app.NotificationManager.notify.

func (*Manager) Notify3_1 added in v0.0.4

func (m *Manager) Notify3_1(
	arg0 string,
	arg1 int32,
	arg2 *jni.Object,
) error

Notify3_1 calls android.app.NotificationManager.notify.

func (*Manager) NotifyAsPackage added in v0.0.4

func (m *Manager) NotifyAsPackage(
	arg0 string,
	arg1 string,
	arg2 int32,
	arg3 *jni.Object,
) error

NotifyAsPackage calls android.app.NotificationManager.notifyAsPackage.

func (*Manager) RemoveAutomaticZenRule added in v0.0.4

func (m *Manager) RemoveAutomaticZenRule(arg0 string) (bool, error)

RemoveAutomaticZenRule calls android.app.NotificationManager.removeAutomaticZenRule.

func (*Manager) SetAutomaticZenRuleState added in v0.0.4

func (m *Manager) SetAutomaticZenRuleState(arg0 string, arg1 *jni.Object) error

SetAutomaticZenRuleState calls android.app.NotificationManager.setAutomaticZenRuleState.

func (*Manager) SetInterruptionFilter added in v0.0.4

func (m *Manager) SetInterruptionFilter(arg0 int32) error

SetInterruptionFilter calls android.app.NotificationManager.setInterruptionFilter.

func (*Manager) SetNotificationDelegate added in v0.0.4

func (m *Manager) SetNotificationDelegate(arg0 string) error

SetNotificationDelegate calls android.app.NotificationManager.setNotificationDelegate.

func (*Manager) SetNotificationPolicy added in v0.0.4

func (m *Manager) SetNotificationPolicy(arg0 *jni.Object) error

SetNotificationPolicy calls android.app.NotificationManager.setNotificationPolicy.

func (*Manager) ShouldHideSilentStatusBarIcons added in v0.0.4

func (m *Manager) ShouldHideSilentStatusBarIcons() (bool, error)

ShouldHideSilentStatusBarIcons calls android.app.NotificationManager.shouldHideSilentStatusBarIcons.

func (*Manager) UpdateAutomaticZenRule added in v0.0.4

func (m *Manager) UpdateAutomaticZenRule(arg0 string, arg1 *jni.Object) (bool, error)

UpdateAutomaticZenRule calls android.app.NotificationManager.updateAutomaticZenRule.

type Notification added in v0.0.4

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

Notification wraps android.app.Notification.

func (*Notification) Clone0 added in v0.0.4

func (m *Notification) Clone0() (*jni.Object, error)

Clone0 calls android.app.Notification.clone.

func (*Notification) Clone0_1 added in v0.0.4

func (m *Notification) Clone0_1() (*jni.Object, error)

Clone0_1 calls android.app.Notification.clone.

func (*Notification) DescribeContents added in v0.0.4

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

DescribeContents calls android.app.Notification.describeContents.

func (*Notification) GetAllowSystemGeneratedContextualActions added in v0.0.4

func (m *Notification) GetAllowSystemGeneratedContextualActions() (bool, error)

GetAllowSystemGeneratedContextualActions calls android.app.Notification.getAllowSystemGeneratedContextualActions.

func (*Notification) GetBadgeIconType added in v0.0.4

func (m *Notification) GetBadgeIconType() (int32, error)

GetBadgeIconType calls android.app.Notification.getBadgeIconType.

func (*Notification) GetBubbleMetadata added in v0.0.4

func (m *Notification) GetBubbleMetadata() (*jni.Object, error)

GetBubbleMetadata calls android.app.Notification.getBubbleMetadata.

func (*Notification) GetChannelId added in v0.0.4

func (m *Notification) GetChannelId() (string, error)

GetChannelId calls android.app.Notification.getChannelId.

func (*Notification) GetContextualActions added in v0.0.4

func (m *Notification) GetContextualActions() (*jni.Object, error)

GetContextualActions calls android.app.Notification.getContextualActions.

func (*Notification) GetGroup added in v0.0.4

func (m *Notification) GetGroup() (string, error)

GetGroup calls android.app.Notification.getGroup.

func (*Notification) GetGroupAlertBehavior added in v0.0.4

func (m *Notification) GetGroupAlertBehavior() (int32, error)

GetGroupAlertBehavior calls android.app.Notification.getGroupAlertBehavior.

func (*Notification) GetLargeIcon added in v0.0.4

func (m *Notification) GetLargeIcon() (*jni.Object, error)

GetLargeIcon calls android.app.Notification.getLargeIcon.

func (*Notification) GetLocusId added in v0.0.4

func (m *Notification) GetLocusId() (*jni.Object, error)

GetLocusId calls android.app.Notification.getLocusId.

func (*Notification) GetSettingsText added in v0.0.4

func (m *Notification) GetSettingsText() (string, error)

GetSettingsText calls android.app.Notification.getSettingsText.

func (*Notification) GetShortCriticalText added in v0.0.4

func (m *Notification) GetShortCriticalText() (string, error)

GetShortCriticalText calls android.app.Notification.getShortCriticalText.

func (*Notification) GetShortcutId added in v0.0.4

func (m *Notification) GetShortcutId() (string, error)

GetShortcutId calls android.app.Notification.getShortcutId.

func (*Notification) GetSmallIcon added in v0.0.4

func (m *Notification) GetSmallIcon() (*jni.Object, error)

GetSmallIcon calls android.app.Notification.getSmallIcon.

func (*Notification) GetSortKey added in v0.0.4

func (m *Notification) GetSortKey() (string, error)

GetSortKey calls android.app.Notification.getSortKey.

func (*Notification) GetTimeoutAfter added in v0.0.4

func (m *Notification) GetTimeoutAfter() (int64, error)

GetTimeoutAfter calls android.app.Notification.getTimeoutAfter.

func (*Notification) HasImage added in v0.0.4

func (m *Notification) HasImage() (bool, error)

HasImage calls android.app.Notification.hasImage.

func (*Notification) HasPromotableCharacteristics added in v0.0.4

func (m *Notification) HasPromotableCharacteristics() (bool, error)

HasPromotableCharacteristics calls android.app.Notification.hasPromotableCharacteristics.

func (*Notification) ToString added in v0.0.4

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

ToString calls android.app.Notification.toString.

func (*Notification) WriteToParcel added in v0.0.4

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

WriteToParcel calls android.app.Notification.writeToParcel.

type StatusBarNotification added in v0.0.4

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

StatusBarNotification wraps android.service.notification.StatusBarNotification.

func (*StatusBarNotification) Clone0 added in v0.0.4

func (m *StatusBarNotification) Clone0() (*jni.Object, error)

Clone0 calls android.service.notification.StatusBarNotification.clone.

func (*StatusBarNotification) Clone0_1 added in v0.0.4

func (m *StatusBarNotification) Clone0_1() (*jni.Object, error)

Clone0_1 calls android.service.notification.StatusBarNotification.clone.

func (*StatusBarNotification) DescribeContents added in v0.0.4

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

DescribeContents calls android.service.notification.StatusBarNotification.describeContents.

func (*StatusBarNotification) GetGroupKey added in v0.0.4

func (m *StatusBarNotification) GetGroupKey() (string, error)

GetGroupKey calls android.service.notification.StatusBarNotification.getGroupKey.

func (*StatusBarNotification) GetId added in v0.0.4

func (m *StatusBarNotification) GetId() (int32, error)

GetId calls android.service.notification.StatusBarNotification.getId.

func (*StatusBarNotification) GetKey added in v0.0.4

func (m *StatusBarNotification) GetKey() (string, error)

GetKey calls android.service.notification.StatusBarNotification.getKey.

func (*StatusBarNotification) GetNotification added in v0.0.4

func (m *StatusBarNotification) GetNotification() (*jni.Object, error)

GetNotification calls android.service.notification.StatusBarNotification.getNotification.

func (*StatusBarNotification) GetOpPkg added in v0.0.4

func (m *StatusBarNotification) GetOpPkg() (string, error)

GetOpPkg calls android.service.notification.StatusBarNotification.getOpPkg.

func (*StatusBarNotification) GetOverrideGroupKey added in v0.0.4

func (m *StatusBarNotification) GetOverrideGroupKey() (string, error)

GetOverrideGroupKey calls android.service.notification.StatusBarNotification.getOverrideGroupKey.

func (*StatusBarNotification) GetPackageName added in v0.0.4

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

GetPackageName calls android.service.notification.StatusBarNotification.getPackageName.

func (*StatusBarNotification) GetPostTime added in v0.0.4

func (m *StatusBarNotification) GetPostTime() (int64, error)

GetPostTime calls android.service.notification.StatusBarNotification.getPostTime.

func (*StatusBarNotification) GetTag added in v0.0.4

func (m *StatusBarNotification) GetTag() (string, error)

GetTag calls android.service.notification.StatusBarNotification.getTag.

func (*StatusBarNotification) GetUid added in v0.0.4

func (m *StatusBarNotification) GetUid() (int32, error)

GetUid calls android.service.notification.StatusBarNotification.getUid.

func (*StatusBarNotification) GetUser added in v0.0.4

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

GetUser calls android.service.notification.StatusBarNotification.getUser.

func (*StatusBarNotification) GetUserId added in v0.0.4

func (m *StatusBarNotification) GetUserId() (int32, error)

GetUserId calls android.service.notification.StatusBarNotification.getUserId.

func (*StatusBarNotification) IsAppGroup added in v0.0.4

func (m *StatusBarNotification) IsAppGroup() (bool, error)

IsAppGroup calls android.service.notification.StatusBarNotification.isAppGroup.

func (*StatusBarNotification) IsClearable added in v0.0.4

func (m *StatusBarNotification) IsClearable() (bool, error)

IsClearable calls android.service.notification.StatusBarNotification.isClearable.

func (*StatusBarNotification) IsGroup added in v0.0.4

func (m *StatusBarNotification) IsGroup() (bool, error)

IsGroup calls android.service.notification.StatusBarNotification.isGroup.

func (*StatusBarNotification) IsOngoing added in v0.0.4

func (m *StatusBarNotification) IsOngoing() (bool, error)

IsOngoing calls android.service.notification.StatusBarNotification.isOngoing.

func (*StatusBarNotification) SetOverrideGroupKey added in v0.0.4

func (m *StatusBarNotification) SetOverrideGroupKey(arg0 string) error

SetOverrideGroupKey calls android.service.notification.StatusBarNotification.setOverrideGroupKey.

func (*StatusBarNotification) ToString added in v0.0.4

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

ToString calls android.service.notification.StatusBarNotification.toString.

func (*StatusBarNotification) WriteToParcel added in v0.0.4

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

WriteToParcel calls android.service.notification.StatusBarNotification.writeToParcel.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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