cardemulation

package
v0.0.6 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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CardEmulationClient

type CardEmulationClient struct {
	// contains filtered or unexported fields
}

CardEmulationClient wraps the gRPC CardEmulationService client.

func NewCardEmulationClient

func NewCardEmulationClient(cc grpc.ClientConnInterface) *CardEmulationClient

NewCardEmulationClient creates a new CardEmulation client.

func (*CardEmulationClient) CategoryAllowsForegroundPreference

func (c *CardEmulationClient) CategoryAllowsForegroundPreference(ctx context.Context, arg0 string) (bool, error)

CategoryAllowsForegroundPreference calls the CategoryAllowsForegroundPreference RPC.

func (*CardEmulationClient) GetAidsForPreferredPaymentService

func (c *CardEmulationClient) GetAidsForPreferredPaymentService(ctx context.Context) (int64, error)

GetAidsForPreferredPaymentService calls the GetAidsForPreferredPaymentService RPC.

func (*CardEmulationClient) GetAidsForService

func (c *CardEmulationClient) GetAidsForService(ctx context.Context, arg0 int64, arg1 string) (int64, error)

GetAidsForService calls the GetAidsForService RPC.

func (*CardEmulationClient) GetDefaultNfcSubscriptionId

func (c *CardEmulationClient) GetDefaultNfcSubscriptionId(ctx context.Context) (int32, error)

GetDefaultNfcSubscriptionId calls the GetDefaultNfcSubscriptionId RPC.

func (*CardEmulationClient) GetDescriptionForPreferredPaymentService

func (c *CardEmulationClient) GetDescriptionForPreferredPaymentService(ctx context.Context) (int64, error)

GetDescriptionForPreferredPaymentService calls the GetDescriptionForPreferredPaymentService RPC.

func (*CardEmulationClient) GetRouteDestinationForPreferredPaymentService

func (c *CardEmulationClient) GetRouteDestinationForPreferredPaymentService(ctx context.Context) (string, error)

GetRouteDestinationForPreferredPaymentService calls the GetRouteDestinationForPreferredPaymentService RPC.

func (*CardEmulationClient) GetSelectionModeForCategory

func (c *CardEmulationClient) GetSelectionModeForCategory(ctx context.Context, arg0 string) (int32, error)

GetSelectionModeForCategory calls the GetSelectionModeForCategory RPC.

func (*CardEmulationClient) IsDefaultServiceForAid

func (c *CardEmulationClient) IsDefaultServiceForAid(ctx context.Context, arg0 int64, arg1 string) (bool, error)

IsDefaultServiceForAid calls the IsDefaultServiceForAid RPC.

func (*CardEmulationClient) IsDefaultServiceForCategory

func (c *CardEmulationClient) IsDefaultServiceForCategory(ctx context.Context, arg0 int64, arg1 string) (bool, error)

IsDefaultServiceForCategory calls the IsDefaultServiceForCategory RPC.

func (*CardEmulationClient) IsEuiccSupported

func (c *CardEmulationClient) IsEuiccSupported(ctx context.Context) (bool, error)

IsEuiccSupported calls the IsEuiccSupported RPC.

func (*CardEmulationClient) RegisterNfcEventCallback

func (c *CardEmulationClient) RegisterNfcEventCallback(ctx context.Context, arg0 int64, arg1 int64) error

RegisterNfcEventCallback calls the RegisterNfcEventCallback RPC.

func (*CardEmulationClient) RegisterPollingLoopFilterForService

func (c *CardEmulationClient) RegisterPollingLoopFilterForService(ctx context.Context, arg0 int64, arg1 string, arg2 bool) (bool, error)

RegisterPollingLoopFilterForService calls the RegisterPollingLoopFilterForService RPC.

func (*CardEmulationClient) RegisterPollingLoopPatternFilterForService

func (c *CardEmulationClient) RegisterPollingLoopPatternFilterForService(ctx context.Context, arg0 int64, arg1 string, arg2 bool) (bool, error)

RegisterPollingLoopPatternFilterForService calls the RegisterPollingLoopPatternFilterForService RPC.

func (*CardEmulationClient) RemoveAidsForService

func (c *CardEmulationClient) RemoveAidsForService(ctx context.Context, arg0 int64, arg1 string) (bool, error)

RemoveAidsForService calls the RemoveAidsForService RPC.

func (*CardEmulationClient) RemovePollingLoopFilterForService

func (c *CardEmulationClient) RemovePollingLoopFilterForService(ctx context.Context, arg0 int64, arg1 string) (bool, error)

RemovePollingLoopFilterForService calls the RemovePollingLoopFilterForService RPC.

func (*CardEmulationClient) RemovePollingLoopPatternFilterForService

func (c *CardEmulationClient) RemovePollingLoopPatternFilterForService(ctx context.Context, arg0 int64, arg1 string) (bool, error)

RemovePollingLoopPatternFilterForService calls the RemovePollingLoopPatternFilterForService RPC.

func (*CardEmulationClient) SetOffHostForService

func (c *CardEmulationClient) SetOffHostForService(ctx context.Context, arg0 int64, arg1 string) (bool, error)

SetOffHostForService calls the SetOffHostForService RPC.

func (*CardEmulationClient) SetPreferredService

func (c *CardEmulationClient) SetPreferredService(ctx context.Context, arg0 int64, arg1 int64) (bool, error)

SetPreferredService calls the SetPreferredService RPC.

func (*CardEmulationClient) SetShouldDefaultToObserveModeForService

func (c *CardEmulationClient) SetShouldDefaultToObserveModeForService(ctx context.Context, arg0 int64, arg1 bool) (bool, error)

SetShouldDefaultToObserveModeForService calls the SetShouldDefaultToObserveModeForService RPC.

func (*CardEmulationClient) SupportsAidPrefixRegistration

func (c *CardEmulationClient) SupportsAidPrefixRegistration(ctx context.Context) (bool, error)

SupportsAidPrefixRegistration calls the SupportsAidPrefixRegistration RPC.

func (*CardEmulationClient) UnregisterNfcEventCallback

func (c *CardEmulationClient) UnregisterNfcEventCallback(ctx context.Context, arg0 int64) error

UnregisterNfcEventCallback calls the UnregisterNfcEventCallback RPC.

func (*CardEmulationClient) UnsetOffHostForService

func (c *CardEmulationClient) UnsetOffHostForService(ctx context.Context, arg0 int64) (bool, error)

UnsetOffHostForService calls the UnsetOffHostForService RPC.

func (*CardEmulationClient) UnsetPreferredService

func (c *CardEmulationClient) UnsetPreferredService(ctx context.Context, arg0 int64) (bool, error)

UnsetPreferredService calls the UnsetPreferredService RPC.

type HostApduServiceClient

type HostApduServiceClient struct {
	// contains filtered or unexported fields
}

HostApduServiceClient wraps the gRPC HostApduServiceService client.

func NewHostApduServiceClient

func NewHostApduServiceClient(cc grpc.ClientConnInterface) *HostApduServiceClient

NewHostApduServiceClient creates a new HostApduService client.

func (*HostApduServiceClient) NotifyUnhandled

func (c *HostApduServiceClient) NotifyUnhandled(ctx context.Context) error

NotifyUnhandled calls the NotifyUnhandled RPC.

func (*HostApduServiceClient) OnBind

func (c *HostApduServiceClient) OnBind(ctx context.Context, arg0 int64) (int64, error)

OnBind calls the OnBind RPC.

func (*HostApduServiceClient) OnDeactivated

func (c *HostApduServiceClient) OnDeactivated(ctx context.Context, arg0 int32) error

OnDeactivated calls the OnDeactivated RPC.

func (*HostApduServiceClient) ProcessCommandApdu

func (c *HostApduServiceClient) ProcessCommandApdu(ctx context.Context, arg0 int64, arg1 int64) (int64, error)

ProcessCommandApdu calls the ProcessCommandApdu RPC.

func (*HostApduServiceClient) SendResponseApdu

func (c *HostApduServiceClient) SendResponseApdu(ctx context.Context, arg0 int64) error

SendResponseApdu calls the SendResponseApdu RPC.

type HostNfcFServiceClient

type HostNfcFServiceClient struct {
	// contains filtered or unexported fields
}

HostNfcFServiceClient wraps the gRPC HostNfcFServiceService client.

func NewHostNfcFServiceClient

func NewHostNfcFServiceClient(cc grpc.ClientConnInterface) *HostNfcFServiceClient

NewHostNfcFServiceClient creates a new HostNfcFService client.

func (*HostNfcFServiceClient) OnBind

func (c *HostNfcFServiceClient) OnBind(ctx context.Context, arg0 int64) (int64, error)

OnBind calls the OnBind RPC.

func (*HostNfcFServiceClient) OnDeactivated

func (c *HostNfcFServiceClient) OnDeactivated(ctx context.Context, arg0 int32) error

OnDeactivated calls the OnDeactivated RPC.

func (*HostNfcFServiceClient) ProcessNfcFPacket

func (c *HostNfcFServiceClient) ProcessNfcFPacket(ctx context.Context, arg0 int64, arg1 int64) (int64, error)

ProcessNfcFPacket calls the ProcessNfcFPacket RPC.

func (*HostNfcFServiceClient) SendResponsePacket

func (c *HostNfcFServiceClient) SendResponsePacket(ctx context.Context, arg0 int64) error

SendResponsePacket calls the SendResponsePacket RPC.

type NfcFCardEmulationClient

type NfcFCardEmulationClient struct {
	// contains filtered or unexported fields
}

NfcFCardEmulationClient wraps the gRPC NfcFCardEmulationService client.

func NewNfcFCardEmulationClient

func NewNfcFCardEmulationClient(cc grpc.ClientConnInterface) *NfcFCardEmulationClient

NewNfcFCardEmulationClient creates a new NfcFCardEmulation client.

func (*NfcFCardEmulationClient) DisableService

func (c *NfcFCardEmulationClient) DisableService(ctx context.Context, arg0 int64) (bool, error)

DisableService calls the DisableService RPC.

func (*NfcFCardEmulationClient) EnableService

func (c *NfcFCardEmulationClient) EnableService(ctx context.Context, arg0 int64, arg1 int64) (bool, error)

EnableService calls the EnableService RPC.

func (*NfcFCardEmulationClient) GetNfcid2ForService

func (c *NfcFCardEmulationClient) GetNfcid2ForService(ctx context.Context, arg0 int64) (string, error)

GetNfcid2ForService calls the GetNfcid2ForService RPC.

func (*NfcFCardEmulationClient) GetSystemCodeForService

func (c *NfcFCardEmulationClient) GetSystemCodeForService(ctx context.Context, arg0 int64) (string, error)

GetSystemCodeForService calls the GetSystemCodeForService RPC.

func (*NfcFCardEmulationClient) RegisterSystemCodeForService

func (c *NfcFCardEmulationClient) RegisterSystemCodeForService(ctx context.Context, arg0 int64, arg1 string) (bool, error)

RegisterSystemCodeForService calls the RegisterSystemCodeForService RPC.

func (*NfcFCardEmulationClient) SetNfcid2ForService

func (c *NfcFCardEmulationClient) SetNfcid2ForService(ctx context.Context, arg0 int64, arg1 string) (bool, error)

SetNfcid2ForService calls the SetNfcid2ForService RPC.

func (*NfcFCardEmulationClient) UnregisterSystemCodeForService

func (c *NfcFCardEmulationClient) UnregisterSystemCodeForService(ctx context.Context, arg0 int64) (bool, error)

UnregisterSystemCodeForService calls the UnregisterSystemCodeForService RPC.

type OffHostApduServiceClient

type OffHostApduServiceClient struct {
	// contains filtered or unexported fields
}

OffHostApduServiceClient wraps the gRPC OffHostApduServiceService client.

func NewOffHostApduServiceClient

func NewOffHostApduServiceClient(cc grpc.ClientConnInterface) *OffHostApduServiceClient

NewOffHostApduServiceClient creates a new OffHostApduService client.

func (*OffHostApduServiceClient) OnBind

func (c *OffHostApduServiceClient) OnBind(ctx context.Context, arg0 int64) (int64, error)

OnBind calls the OnBind RPC.

type PollingFrameClient

type PollingFrameClient struct {
	// contains filtered or unexported fields
}

PollingFrameClient wraps the gRPC PollingFrameService client.

func NewPollingFrameClient

func NewPollingFrameClient(cc grpc.ClientConnInterface) *PollingFrameClient

NewPollingFrameClient creates a new PollingFrame client.

func (*PollingFrameClient) DescribeContents

func (c *PollingFrameClient) DescribeContents(ctx context.Context) (int32, error)

DescribeContents calls the DescribeContents RPC.

func (*PollingFrameClient) GetData

func (c *PollingFrameClient) GetData(ctx context.Context) (int64, error)

GetData calls the GetData RPC.

func (*PollingFrameClient) GetTimestamp

func (c *PollingFrameClient) GetTimestamp(ctx context.Context) (int64, error)

GetTimestamp calls the GetTimestamp RPC.

func (*PollingFrameClient) GetTriggeredAutoTransact

func (c *PollingFrameClient) GetTriggeredAutoTransact(ctx context.Context) (bool, error)

GetTriggeredAutoTransact calls the GetTriggeredAutoTransact RPC.

func (*PollingFrameClient) GetType

func (c *PollingFrameClient) GetType(ctx context.Context) (int32, error)

GetType calls the GetType RPC.

func (*PollingFrameClient) GetVendorSpecificGain

func (c *PollingFrameClient) GetVendorSpecificGain(ctx context.Context) (int32, error)

GetVendorSpecificGain calls the GetVendorSpecificGain RPC.

func (*PollingFrameClient) ToString

func (c *PollingFrameClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

func (*PollingFrameClient) WriteToParcel

func (c *PollingFrameClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error

WriteToParcel calls the WriteToParcel RPC.

Jump to

Keyboard shortcuts

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