Versions in this module Expand all Collapse all v0 v0.0.6 Mar 22, 2026 v0.0.5 Mar 22, 2026 Changes in this version + const DescriptorISecureElement + const DescriptorISecureElementCallback + const ISecureElementChannelNotAvailable + const ISecureElementFAILED + const ISecureElementIOERROR + const ISecureElementNoSuchElementError + const ISecureElementUnsupportedOperation + const MethodISecureElementCallbackOnStateChange + const MethodISecureElementCloseChannel + const MethodISecureElementGetAtr + const MethodISecureElementInit + const MethodISecureElementIsCardPresent + const MethodISecureElementOpenBasicChannel + const MethodISecureElementOpenLogicalChannel + const MethodISecureElementReset + const MethodISecureElementTransmit + const TransactionISecureElementCallbackOnStateChange + const TransactionISecureElementCloseChannel + const TransactionISecureElementGetAtr + const TransactionISecureElementInit + const TransactionISecureElementIsCardPresent + const TransactionISecureElementOpenBasicChannel + const TransactionISecureElementOpenLogicalChannel + const TransactionISecureElementReset + const TransactionISecureElementTransmit + type ISecureElement interface + AsBinder func() binder.IBinder + CloseChannel func(ctx context.Context, channelNumber byte) error + GetAtr func(ctx context.Context) ([]byte, error) + Init func(ctx context.Context, clientCallback ISecureElementCallback) error + IsCardPresent func(ctx context.Context) (bool, error) + OpenBasicChannel func(ctx context.Context, aid []byte, p2 byte) ([]byte, error) + OpenLogicalChannel func(ctx context.Context, aid []byte, p2 byte) (LogicalChannelResponse, error) + Reset func(ctx context.Context) error + Transmit func(ctx context.Context, data []byte) ([]byte, error) + func NewSecureElementStub(impl ISecureElementServer) ISecureElement + type ISecureElementCallback interface + AsBinder func() binder.IBinder + OnStateChange func(ctx context.Context, connected bool, debugReason string) error + func NewSecureElementCallbackStub(impl ISecureElementCallbackServer) ISecureElementCallback + type ISecureElementCallbackServer interface + OnStateChange func(ctx context.Context, connected bool, debugReason string) error + type ISecureElementServer interface + CloseChannel func(ctx context.Context, channelNumber byte) error + GetAtr func(ctx context.Context) ([]byte, error) + Init func(ctx context.Context, clientCallback ISecureElementCallback) error + IsCardPresent func(ctx context.Context) (bool, error) + OpenBasicChannel func(ctx context.Context, aid []byte, p2 byte) ([]byte, error) + OpenLogicalChannel func(ctx context.Context, aid []byte, p2 byte) (LogicalChannelResponse, error) + Reset func(ctx context.Context) error + Transmit func(ctx context.Context, data []byte) ([]byte, error) + type LogicalChannelResponse struct + ChannelNumber byte + SelectResponse []byte + func (s *LogicalChannelResponse) MarshalParcel(p *parcel.Parcel) error + func (s *LogicalChannelResponse) UnmarshalParcel(p *parcel.Parcel) error + type SecureElementCallbackProxy struct + Remote binder.IBinder + func NewSecureElementCallbackProxy(remote binder.IBinder) *SecureElementCallbackProxy + func (p *SecureElementCallbackProxy) AsBinder() binder.IBinder + func (p *SecureElementCallbackProxy) OnStateChange(ctx context.Context, connected bool, debugReason string) error + type SecureElementCallbackStub struct + Impl ISecureElementCallback + Transport binder.VersionAwareTransport + func (s *SecureElementCallbackStub) Descriptor() string + func (s *SecureElementCallbackStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error) + type SecureElementProxy struct + Remote binder.IBinder + func NewSecureElementProxy(remote binder.IBinder) *SecureElementProxy + func (p *SecureElementProxy) AsBinder() binder.IBinder + func (p *SecureElementProxy) CloseChannel(ctx context.Context, channelNumber byte) error + func (p *SecureElementProxy) GetAtr(ctx context.Context) ([]byte, error) + func (p *SecureElementProxy) Init(ctx context.Context, clientCallback ISecureElementCallback) error + func (p *SecureElementProxy) IsCardPresent(ctx context.Context) (bool, error) + func (p *SecureElementProxy) OpenBasicChannel(ctx context.Context, aid []byte, p2 byte) ([]byte, error) + func (p *SecureElementProxy) OpenLogicalChannel(ctx context.Context, aid []byte, p2 byte) (LogicalChannelResponse, error) + func (p *SecureElementProxy) Reset(ctx context.Context) error + func (p *SecureElementProxy) Transmit(ctx context.Context, data []byte) ([]byte, error) + type SecureElementStub struct + Impl ISecureElement + Transport binder.VersionAwareTransport + func (s *SecureElementStub) Descriptor() string + func (s *SecureElementStub) OnTransaction(ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel) (*parcel.Parcel, error)