quickaccesswallet

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: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	Creator               = consts.Creator
	CardTypeNonPayment    = consts.CardTypeNonPayment
	CardTypePayment       = consts.CardTypePayment
	CardTypeUnknown       = consts.CardTypeUnknown
	TypeNfcPaymentStarted = consts.TypeNfcPaymentStarted
)
View Source
const (
	ActionViewWallet         = consts.ActionViewWallet
	ActionViewWalletSettings = consts.ActionViewWalletSettings
	ServiceInterface         = consts.ServiceInterface
	ServiceMetaData          = consts.ServiceMetaData
)

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 GetWalletCardsCallback

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

GetWalletCardsCallback wraps android.service.quickaccesswallet.GetWalletCardsCallback.

func (*GetWalletCardsCallback) OnFailure

func (m *GetWalletCardsCallback) OnFailure(arg0 *jni.Object) error

OnFailure calls android.service.quickaccesswallet.GetWalletCardsCallback.onFailure.

func (*GetWalletCardsCallback) OnSuccess

func (m *GetWalletCardsCallback) OnSuccess(arg0 *jni.Object) error

OnSuccess calls android.service.quickaccesswallet.GetWalletCardsCallback.onSuccess.

func (*GetWalletCardsCallback) ToString added in v0.0.8

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

ToString calls android.service.quickaccesswallet.GetWalletCardsCallback.toString.

type GetWalletCardsError

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

GetWalletCardsError wraps android.service.quickaccesswallet.GetWalletCardsError.

func NewGetWalletCardsError

func NewGetWalletCardsError(vm *jni.VM, arg0 *jni.Object, arg1 string) (*GetWalletCardsError, error)

NewGetWalletCardsError creates a new android.service.quickaccesswallet.GetWalletCardsError instance.

func (*GetWalletCardsError) DescribeContents

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

DescribeContents calls android.service.quickaccesswallet.GetWalletCardsError.describeContents.

func (*GetWalletCardsError) GetIcon

func (m *GetWalletCardsError) GetIcon() (*jni.Object, error)

GetIcon calls android.service.quickaccesswallet.GetWalletCardsError.getIcon.

func (*GetWalletCardsError) GetMessage

func (m *GetWalletCardsError) GetMessage() (*jni.Object, error)

GetMessage calls android.service.quickaccesswallet.GetWalletCardsError.getMessage.

func (*GetWalletCardsError) ToString added in v0.0.8

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

ToString calls android.service.quickaccesswallet.GetWalletCardsError.toString.

func (*GetWalletCardsError) WriteToParcel

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

WriteToParcel calls android.service.quickaccesswallet.GetWalletCardsError.writeToParcel.

type GetWalletCardsRequest

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

GetWalletCardsRequest wraps android.service.quickaccesswallet.GetWalletCardsRequest.

func NewGetWalletCardsRequest

func NewGetWalletCardsRequest(vm *jni.VM, arg0 int32, arg1 int32, arg2 int32, arg3 int32) (*GetWalletCardsRequest, error)

NewGetWalletCardsRequest creates a new android.service.quickaccesswallet.GetWalletCardsRequest instance.

func (*GetWalletCardsRequest) DescribeContents

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

DescribeContents calls android.service.quickaccesswallet.GetWalletCardsRequest.describeContents.

func (*GetWalletCardsRequest) GetCardHeightPx

func (m *GetWalletCardsRequest) GetCardHeightPx() (int32, error)

GetCardHeightPx calls android.service.quickaccesswallet.GetWalletCardsRequest.getCardHeightPx.

func (*GetWalletCardsRequest) GetCardWidthPx

func (m *GetWalletCardsRequest) GetCardWidthPx() (int32, error)

GetCardWidthPx calls android.service.quickaccesswallet.GetWalletCardsRequest.getCardWidthPx.

func (*GetWalletCardsRequest) GetIconSizePx

func (m *GetWalletCardsRequest) GetIconSizePx() (int32, error)

GetIconSizePx calls android.service.quickaccesswallet.GetWalletCardsRequest.getIconSizePx.

func (*GetWalletCardsRequest) GetMaxCards

func (m *GetWalletCardsRequest) GetMaxCards() (int32, error)

GetMaxCards calls android.service.quickaccesswallet.GetWalletCardsRequest.getMaxCards.

func (*GetWalletCardsRequest) ToString added in v0.0.8

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

ToString calls android.service.quickaccesswallet.GetWalletCardsRequest.toString.

func (*GetWalletCardsRequest) WriteToParcel

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

WriteToParcel calls android.service.quickaccesswallet.GetWalletCardsRequest.writeToParcel.

type GetWalletCardsResponse

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

GetWalletCardsResponse wraps android.service.quickaccesswallet.GetWalletCardsResponse.

func NewGetWalletCardsResponse

func NewGetWalletCardsResponse(vm *jni.VM, arg0 *jni.Object, arg1 int32) (*GetWalletCardsResponse, error)

NewGetWalletCardsResponse creates a new android.service.quickaccesswallet.GetWalletCardsResponse instance.

func (*GetWalletCardsResponse) DescribeContents

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

DescribeContents calls android.service.quickaccesswallet.GetWalletCardsResponse.describeContents.

func (*GetWalletCardsResponse) GetSelectedIndex

func (m *GetWalletCardsResponse) GetSelectedIndex() (int32, error)

GetSelectedIndex calls android.service.quickaccesswallet.GetWalletCardsResponse.getSelectedIndex.

func (*GetWalletCardsResponse) GetWalletCards added in v0.0.8

func (m *GetWalletCardsResponse) GetWalletCards() (*jni.Object, error)

GetWalletCards calls android.service.quickaccesswallet.GetWalletCardsResponse.getWalletCards.

func (*GetWalletCardsResponse) ToString added in v0.0.8

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

ToString calls android.service.quickaccesswallet.GetWalletCardsResponse.toString.

func (*GetWalletCardsResponse) WriteToParcel

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

WriteToParcel calls android.service.quickaccesswallet.GetWalletCardsResponse.writeToParcel.

type QuickAccessWalletService

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

QuickAccessWalletService wraps android.service.quickaccesswallet.QuickAccessWalletService.

func (*QuickAccessWalletService) GetGestureTargetActivityPendingIntent

func (m *QuickAccessWalletService) GetGestureTargetActivityPendingIntent() (*jni.Object, error)

GetGestureTargetActivityPendingIntent calls android.service.quickaccesswallet.QuickAccessWalletService.getGestureTargetActivityPendingIntent.

func (*QuickAccessWalletService) GetTargetActivityPendingIntent

func (m *QuickAccessWalletService) GetTargetActivityPendingIntent() (*jni.Object, error)

GetTargetActivityPendingIntent calls android.service.quickaccesswallet.QuickAccessWalletService.getTargetActivityPendingIntent.

func (*QuickAccessWalletService) OnBind

func (m *QuickAccessWalletService) OnBind(arg0 *jni.Object) (*jni.Object, error)

OnBind calls android.service.quickaccesswallet.QuickAccessWalletService.onBind.

func (*QuickAccessWalletService) OnWalletCardSelected

func (m *QuickAccessWalletService) OnWalletCardSelected(arg0 *jni.Object) error

OnWalletCardSelected calls android.service.quickaccesswallet.QuickAccessWalletService.onWalletCardSelected.

func (*QuickAccessWalletService) OnWalletCardsRequested

func (m *QuickAccessWalletService) OnWalletCardsRequested(arg0 *jni.Object, arg1 *jni.Object) error

OnWalletCardsRequested calls android.service.quickaccesswallet.QuickAccessWalletService.onWalletCardsRequested.

func (*QuickAccessWalletService) OnWalletDismissed

func (m *QuickAccessWalletService) OnWalletDismissed() error

OnWalletDismissed calls android.service.quickaccesswallet.QuickAccessWalletService.onWalletDismissed.

func (*QuickAccessWalletService) SendWalletServiceEvent

func (m *QuickAccessWalletService) SendWalletServiceEvent(arg0 *jni.Object) error

SendWalletServiceEvent calls android.service.quickaccesswallet.QuickAccessWalletService.sendWalletServiceEvent.

func (*QuickAccessWalletService) ToString added in v0.0.8

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

ToString calls android.service.quickaccesswallet.QuickAccessWalletService.toString.

type SelectWalletCardRequest

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

SelectWalletCardRequest wraps android.service.quickaccesswallet.SelectWalletCardRequest.

func NewSelectWalletCardRequest

func NewSelectWalletCardRequest(vm *jni.VM, arg0 string) (*SelectWalletCardRequest, error)

NewSelectWalletCardRequest creates a new android.service.quickaccesswallet.SelectWalletCardRequest instance.

func (*SelectWalletCardRequest) DescribeContents

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

DescribeContents calls android.service.quickaccesswallet.SelectWalletCardRequest.describeContents.

func (*SelectWalletCardRequest) GetCardId

func (m *SelectWalletCardRequest) GetCardId() (string, error)

GetCardId calls android.service.quickaccesswallet.SelectWalletCardRequest.getCardId.

func (*SelectWalletCardRequest) ToString added in v0.0.8

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

ToString calls android.service.quickaccesswallet.SelectWalletCardRequest.toString.

func (*SelectWalletCardRequest) WriteToParcel

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

WriteToParcel calls android.service.quickaccesswallet.SelectWalletCardRequest.writeToParcel.

type WalletCard

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

WalletCard wraps android.service.quickaccesswallet.WalletCard.

func (*WalletCard) DescribeContents

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

DescribeContents calls android.service.quickaccesswallet.WalletCard.describeContents.

func (*WalletCard) GetCardIcon

func (m *WalletCard) GetCardIcon() (*jni.Object, error)

GetCardIcon calls android.service.quickaccesswallet.WalletCard.getCardIcon.

func (*WalletCard) GetCardId

func (m *WalletCard) GetCardId() (string, error)

GetCardId calls android.service.quickaccesswallet.WalletCard.getCardId.

func (*WalletCard) GetCardImage

func (m *WalletCard) GetCardImage() (*jni.Object, error)

GetCardImage calls android.service.quickaccesswallet.WalletCard.getCardImage.

func (*WalletCard) GetCardLabel

func (m *WalletCard) GetCardLabel() (*jni.Object, error)

GetCardLabel calls android.service.quickaccesswallet.WalletCard.getCardLabel.

func (*WalletCard) GetCardLocations added in v0.0.8

func (m *WalletCard) GetCardLocations() (*jni.Object, error)

GetCardLocations calls android.service.quickaccesswallet.WalletCard.getCardLocations.

func (*WalletCard) GetCardType

func (m *WalletCard) GetCardType() (int32, error)

GetCardType calls android.service.quickaccesswallet.WalletCard.getCardType.

func (*WalletCard) GetContentDescription

func (m *WalletCard) GetContentDescription() (*jni.Object, error)

GetContentDescription calls android.service.quickaccesswallet.WalletCard.getContentDescription.

func (*WalletCard) GetNonPaymentCardSecondaryImage

func (m *WalletCard) GetNonPaymentCardSecondaryImage() (*jni.Object, error)

GetNonPaymentCardSecondaryImage calls android.service.quickaccesswallet.WalletCard.getNonPaymentCardSecondaryImage.

func (*WalletCard) GetPendingIntent

func (m *WalletCard) GetPendingIntent() (*jni.Object, error)

GetPendingIntent calls android.service.quickaccesswallet.WalletCard.getPendingIntent.

func (*WalletCard) ToString added in v0.0.8

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

ToString calls android.service.quickaccesswallet.WalletCard.toString.

func (*WalletCard) WriteToParcel

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

WriteToParcel calls android.service.quickaccesswallet.WalletCard.writeToParcel.

type WalletCardBuilder

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

WalletCardBuilder wraps android.service.quickaccesswallet.WalletCard$Builder.

func (*WalletCardBuilder) Build

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

Build calls android.service.quickaccesswallet.WalletCard$Builder.build.

func (*WalletCardBuilder) SetCardIcon

func (m *WalletCardBuilder) SetCardIcon(arg0 *jni.Object) (*jni.Object, error)

SetCardIcon calls android.service.quickaccesswallet.WalletCard$Builder.setCardIcon.

func (*WalletCardBuilder) SetCardLabel

func (m *WalletCardBuilder) SetCardLabel(arg0 string) (*jni.Object, error)

SetCardLabel calls android.service.quickaccesswallet.WalletCard$Builder.setCardLabel.

func (*WalletCardBuilder) SetNonPaymentCardSecondaryImage

func (m *WalletCardBuilder) SetNonPaymentCardSecondaryImage(arg0 *jni.Object) (*jni.Object, error)

SetNonPaymentCardSecondaryImage calls android.service.quickaccesswallet.WalletCard$Builder.setNonPaymentCardSecondaryImage.

func (*WalletCardBuilder) ToString added in v0.0.8

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

ToString calls android.service.quickaccesswallet.WalletCard$Builder.toString.

type WalletServiceEvent

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

WalletServiceEvent wraps android.service.quickaccesswallet.WalletServiceEvent.

func NewWalletServiceEvent

func NewWalletServiceEvent(vm *jni.VM, arg0 int32) (*WalletServiceEvent, error)

NewWalletServiceEvent creates a new android.service.quickaccesswallet.WalletServiceEvent instance.

func (*WalletServiceEvent) DescribeContents

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

DescribeContents calls android.service.quickaccesswallet.WalletServiceEvent.describeContents.

func (*WalletServiceEvent) GetEventType

func (m *WalletServiceEvent) GetEventType() (int32, error)

GetEventType calls android.service.quickaccesswallet.WalletServiceEvent.getEventType.

func (*WalletServiceEvent) ToString added in v0.0.8

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

ToString calls android.service.quickaccesswallet.WalletServiceEvent.toString.

func (*WalletServiceEvent) WriteToParcel

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

WriteToParcel calls android.service.quickaccesswallet.WalletServiceEvent.writeToParcel.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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