nfc

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 AdapterClient

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

AdapterClient wraps the gRPC AdapterService client.

func NewAdapterClient

func NewAdapterClient(cc grpc.ClientConnInterface) *AdapterClient

NewAdapterClient creates a new Adapter client.

func (*AdapterClient) Disable

func (c *AdapterClient) Disable(ctx context.Context) (bool, error)

Disable calls the Disable RPC.

func (*AdapterClient) DisableForegroundDispatch

func (c *AdapterClient) DisableForegroundDispatch(ctx context.Context, arg0 int64) error

DisableForegroundDispatch calls the DisableForegroundDispatch RPC.

func (*AdapterClient) DisableReaderMode

func (c *AdapterClient) DisableReaderMode(ctx context.Context, arg0 int64) error

DisableReaderMode calls the DisableReaderMode RPC.

func (*AdapterClient) Enable

func (c *AdapterClient) Enable(ctx context.Context) (bool, error)

Enable calls the Enable RPC.

func (*AdapterClient) EnableForegroundDispatch

func (c *AdapterClient) EnableForegroundDispatch(ctx context.Context, arg0 int64, arg1 int64, arg2 int64, arg3 int64) error

EnableForegroundDispatch calls the EnableForegroundDispatch RPC.

func (*AdapterClient) EnableReaderMode

func (c *AdapterClient) EnableReaderMode(ctx context.Context, arg0 int64, arg1 int64, arg2 int32, arg3 int64) error

EnableReaderMode calls the EnableReaderMode RPC.

func (*AdapterClient) GetDefaultAdapter

func (c *AdapterClient) GetDefaultAdapter(ctx context.Context, arg0 int64) (int64, error)

GetDefaultAdapter calls the GetDefaultAdapter RPC.

func (*AdapterClient) GetNfcAntennaInfo

func (c *AdapterClient) GetNfcAntennaInfo(ctx context.Context) (int64, error)

GetNfcAntennaInfo calls the GetNfcAntennaInfo RPC.

func (*AdapterClient) IsEnabled

func (c *AdapterClient) IsEnabled(ctx context.Context) (bool, error)

IsEnabled calls the IsEnabled RPC.

func (*AdapterClient) IsObserveModeEnabled

func (c *AdapterClient) IsObserveModeEnabled(ctx context.Context) (bool, error)

IsObserveModeEnabled calls the IsObserveModeEnabled RPC.

func (*AdapterClient) IsObserveModeSupported

func (c *AdapterClient) IsObserveModeSupported(ctx context.Context) (bool, error)

IsObserveModeSupported calls the IsObserveModeSupported RPC.

func (*AdapterClient) IsReaderOptionEnabled

func (c *AdapterClient) IsReaderOptionEnabled(ctx context.Context) (bool, error)

IsReaderOptionEnabled calls the IsReaderOptionEnabled RPC.

func (*AdapterClient) IsReaderOptionSupported

func (c *AdapterClient) IsReaderOptionSupported(ctx context.Context) (bool, error)

IsReaderOptionSupported calls the IsReaderOptionSupported RPC.

func (*AdapterClient) IsSecureNfcEnabled

func (c *AdapterClient) IsSecureNfcEnabled(ctx context.Context) (bool, error)

IsSecureNfcEnabled calls the IsSecureNfcEnabled RPC.

func (*AdapterClient) IsSecureNfcSupported

func (c *AdapterClient) IsSecureNfcSupported(ctx context.Context) (bool, error)

IsSecureNfcSupported calls the IsSecureNfcSupported RPC.

func (*AdapterClient) IsTagIntentAllowed

func (c *AdapterClient) IsTagIntentAllowed(ctx context.Context) (bool, error)

IsTagIntentAllowed calls the IsTagIntentAllowed RPC.

func (*AdapterClient) IsTagIntentAppPreferenceSupported

func (c *AdapterClient) IsTagIntentAppPreferenceSupported(ctx context.Context) (bool, error)

IsTagIntentAppPreferenceSupported calls the IsTagIntentAppPreferenceSupported RPC.

func (*AdapterClient) ResetDiscoveryTechnology

func (c *AdapterClient) ResetDiscoveryTechnology(ctx context.Context, arg0 int64) error

ResetDiscoveryTechnology calls the ResetDiscoveryTechnology RPC.

func (*AdapterClient) SetDiscoveryTechnology

func (c *AdapterClient) SetDiscoveryTechnology(ctx context.Context, arg0 int64, arg1 int32, arg2 int32) error

SetDiscoveryTechnology calls the SetDiscoveryTechnology RPC.

func (*AdapterClient) SetObserveModeEnabled

func (c *AdapterClient) SetObserveModeEnabled(ctx context.Context, arg0 bool) (bool, error)

SetObserveModeEnabled calls the SetObserveModeEnabled RPC.

type AdapterCreateBeamUrisCallbackClient

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

AdapterCreateBeamUrisCallbackClient wraps the gRPC AdapterCreateBeamUrisCallbackService client.

func NewAdapterCreateBeamUrisCallbackClient

func NewAdapterCreateBeamUrisCallbackClient(cc grpc.ClientConnInterface) *AdapterCreateBeamUrisCallbackClient

NewAdapterCreateBeamUrisCallbackClient creates a new AdapterCreateBeamUrisCallback client.

func (*AdapterCreateBeamUrisCallbackClient) CreateBeamUris

func (c *AdapterCreateBeamUrisCallbackClient) CreateBeamUris(ctx context.Context, arg0 int64) (int64, error)

CreateBeamUris calls the CreateBeamUris RPC.

type AdapterCreateNdefMessageCallbackClient

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

AdapterCreateNdefMessageCallbackClient wraps the gRPC AdapterCreateNdefMessageCallbackService client.

func NewAdapterCreateNdefMessageCallbackClient

func NewAdapterCreateNdefMessageCallbackClient(cc grpc.ClientConnInterface) *AdapterCreateNdefMessageCallbackClient

NewAdapterCreateNdefMessageCallbackClient creates a new AdapterCreateNdefMessageCallback client.

func (*AdapterCreateNdefMessageCallbackClient) CreateNdefMessage

func (c *AdapterCreateNdefMessageCallbackClient) CreateNdefMessage(ctx context.Context, arg0 int64) (int64, error)

CreateNdefMessage calls the CreateNdefMessage RPC.

type AdapterOnNdefPushCompleteCallbackClient

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

AdapterOnNdefPushCompleteCallbackClient wraps the gRPC AdapterOnNdefPushCompleteCallbackService client.

func NewAdapterOnNdefPushCompleteCallbackClient

func NewAdapterOnNdefPushCompleteCallbackClient(cc grpc.ClientConnInterface) *AdapterOnNdefPushCompleteCallbackClient

NewAdapterOnNdefPushCompleteCallbackClient creates a new AdapterOnNdefPushCompleteCallback client.

func (*AdapterOnNdefPushCompleteCallbackClient) OnNdefPushComplete

func (c *AdapterOnNdefPushCompleteCallbackClient) OnNdefPushComplete(ctx context.Context, arg0 int64) error

OnNdefPushComplete calls the OnNdefPushComplete RPC.

type AdapterOnTagRemovedListenerClient

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

AdapterOnTagRemovedListenerClient wraps the gRPC AdapterOnTagRemovedListenerService client.

func NewAdapterOnTagRemovedListenerClient

func NewAdapterOnTagRemovedListenerClient(cc grpc.ClientConnInterface) *AdapterOnTagRemovedListenerClient

NewAdapterOnTagRemovedListenerClient creates a new AdapterOnTagRemovedListener client.

func (*AdapterOnTagRemovedListenerClient) OnTagRemoved

OnTagRemoved calls the OnTagRemoved RPC.

type AdapterReaderCallbackClient

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

AdapterReaderCallbackClient wraps the gRPC AdapterReaderCallbackService client.

func NewAdapterReaderCallbackClient

func NewAdapterReaderCallbackClient(cc grpc.ClientConnInterface) *AdapterReaderCallbackClient

NewAdapterReaderCallbackClient creates a new AdapterReaderCallback client.

func (*AdapterReaderCallbackClient) OnTagDiscovered

func (c *AdapterReaderCallbackClient) OnTagDiscovered(ctx context.Context, arg0 int64) error

OnTagDiscovered calls the OnTagDiscovered RPC.

type AntennaInfoClient

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

AntennaInfoClient wraps the gRPC AntennaInfoService client.

func NewAntennaInfoClient

func NewAntennaInfoClient(cc grpc.ClientConnInterface) *AntennaInfoClient

NewAntennaInfoClient creates a new AntennaInfo client.

func (*AntennaInfoClient) DescribeContents

func (c *AntennaInfoClient) DescribeContents(ctx context.Context, handle int64) (int32, error)

DescribeContents calls the DescribeContents RPC.

func (*AntennaInfoClient) GetAvailableNfcAntennas

func (c *AntennaInfoClient) GetAvailableNfcAntennas(ctx context.Context, handle int64) (int64, error)

GetAvailableNfcAntennas calls the GetAvailableNfcAntennas RPC.

func (*AntennaInfoClient) GetDeviceHeight

func (c *AntennaInfoClient) GetDeviceHeight(ctx context.Context, handle int64) (int32, error)

GetDeviceHeight calls the GetDeviceHeight RPC.

func (*AntennaInfoClient) GetDeviceWidth

func (c *AntennaInfoClient) GetDeviceWidth(ctx context.Context, handle int64) (int32, error)

GetDeviceWidth calls the GetDeviceWidth RPC.

func (*AntennaInfoClient) IsDeviceFoldable

func (c *AntennaInfoClient) IsDeviceFoldable(ctx context.Context, handle int64) (bool, error)

IsDeviceFoldable calls the IsDeviceFoldable RPC.

func (*AntennaInfoClient) WriteToParcel

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

WriteToParcel calls the WriteToParcel RPC.

type AvailableNfcAntennaClient

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

AvailableNfcAntennaClient wraps the gRPC AvailableNfcAntennaService client.

func NewAvailableNfcAntennaClient

func NewAvailableNfcAntennaClient(cc grpc.ClientConnInterface) *AvailableNfcAntennaClient

NewAvailableNfcAntennaClient creates a new AvailableNfcAntenna client.

func (*AvailableNfcAntennaClient) DescribeContents

func (c *AvailableNfcAntennaClient) DescribeContents(ctx context.Context, handle int64) (int32, error)

DescribeContents calls the DescribeContents RPC.

func (*AvailableNfcAntennaClient) Equals

func (c *AvailableNfcAntennaClient) Equals(ctx context.Context, handle int64, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*AvailableNfcAntennaClient) GetLocationX

func (c *AvailableNfcAntennaClient) GetLocationX(ctx context.Context, handle int64) (int32, error)

GetLocationX calls the GetLocationX RPC.

func (*AvailableNfcAntennaClient) GetLocationY

func (c *AvailableNfcAntennaClient) GetLocationY(ctx context.Context, handle int64) (int32, error)

GetLocationY calls the GetLocationY RPC.

func (*AvailableNfcAntennaClient) HashCode

func (c *AvailableNfcAntennaClient) HashCode(ctx context.Context, handle int64) (int32, error)

HashCode calls the HashCode RPC.

func (*AvailableNfcAntennaClient) ToString

func (c *AvailableNfcAntennaClient) ToString(ctx context.Context, handle int64) (string, error)

ToString calls the ToString RPC.

func (*AvailableNfcAntennaClient) WriteToParcel

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

WriteToParcel calls the WriteToParcel RPC.

type IsoDepClient

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

IsoDepClient wraps the gRPC IsoDepService client.

func NewIsoDepClient

func NewIsoDepClient(cc grpc.ClientConnInterface) *IsoDepClient

NewIsoDepClient creates a new IsoDep client.

func (*IsoDepClient) Close

func (c *IsoDepClient) Close(ctx context.Context) error

Close calls the Close RPC.

func (*IsoDepClient) Connect

func (c *IsoDepClient) Connect(ctx context.Context) error

Connect calls the Connect RPC.

func (*IsoDepClient) Get

func (c *IsoDepClient) Get(ctx context.Context, arg0 int64) (int64, error)

Get calls the Get RPC.

func (*IsoDepClient) GetHiLayerResponse

func (c *IsoDepClient) GetHiLayerResponse(ctx context.Context) (int64, error)

GetHiLayerResponse calls the GetHiLayerResponse RPC.

func (*IsoDepClient) GetHistoricalBytes

func (c *IsoDepClient) GetHistoricalBytes(ctx context.Context) (int64, error)

GetHistoricalBytes calls the GetHistoricalBytes RPC.

func (*IsoDepClient) GetMaxTransceiveLength

func (c *IsoDepClient) GetMaxTransceiveLength(ctx context.Context) (int32, error)

GetMaxTransceiveLength calls the GetMaxTransceiveLength RPC.

func (*IsoDepClient) GetTag

func (c *IsoDepClient) GetTag(ctx context.Context) (int64, error)

GetTag calls the GetTag RPC.

func (*IsoDepClient) GetTimeout

func (c *IsoDepClient) GetTimeout(ctx context.Context) (int32, error)

GetTimeout calls the GetTimeout RPC.

func (*IsoDepClient) IsConnected

func (c *IsoDepClient) IsConnected(ctx context.Context) (bool, error)

IsConnected calls the IsConnected RPC.

func (*IsoDepClient) IsExtendedLengthApduSupported

func (c *IsoDepClient) IsExtendedLengthApduSupported(ctx context.Context) (bool, error)

IsExtendedLengthApduSupported calls the IsExtendedLengthApduSupported RPC.

func (*IsoDepClient) SetTimeout

func (c *IsoDepClient) SetTimeout(ctx context.Context, arg0 int32) error

SetTimeout calls the SetTimeout RPC.

func (*IsoDepClient) Transceive

func (c *IsoDepClient) Transceive(ctx context.Context, arg0 int64) (int64, error)

Transceive calls the Transceive RPC.

type ManagerClient

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

ManagerClient wraps the gRPC ManagerService client.

func NewManagerClient

func NewManagerClient(cc grpc.ClientConnInterface) *ManagerClient

NewManagerClient creates a new Manager client.

func (*ManagerClient) GetDefaultAdapter

func (c *ManagerClient) GetDefaultAdapter(ctx context.Context) (int64, error)

GetDefaultAdapter calls the GetDefaultAdapter RPC.

type NdefClient

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

NdefClient wraps the gRPC NdefService client.

func NewNdefClient

func NewNdefClient(cc grpc.ClientConnInterface) *NdefClient

NewNdefClient creates a new Ndef client.

func (*NdefClient) CanMakeReadOnly

func (c *NdefClient) CanMakeReadOnly(ctx context.Context) (bool, error)

CanMakeReadOnly calls the CanMakeReadOnly RPC.

func (*NdefClient) Close

func (c *NdefClient) Close(ctx context.Context) error

Close calls the Close RPC.

func (*NdefClient) Connect

func (c *NdefClient) Connect(ctx context.Context) error

Connect calls the Connect RPC.

func (*NdefClient) Get

func (c *NdefClient) Get(ctx context.Context, arg0 int64) (int64, error)

Get calls the Get RPC.

func (*NdefClient) GetCachedNdefMessage

func (c *NdefClient) GetCachedNdefMessage(ctx context.Context) (int64, error)

GetCachedNdefMessage calls the GetCachedNdefMessage RPC.

func (*NdefClient) GetMaxSize

func (c *NdefClient) GetMaxSize(ctx context.Context) (int32, error)

GetMaxSize calls the GetMaxSize RPC.

func (*NdefClient) GetNdefMessage

func (c *NdefClient) GetNdefMessage(ctx context.Context) (int64, error)

GetNdefMessage calls the GetNdefMessage RPC.

func (*NdefClient) GetTag

func (c *NdefClient) GetTag(ctx context.Context) (int64, error)

GetTag calls the GetTag RPC.

func (*NdefClient) GetType

func (c *NdefClient) GetType(ctx context.Context) (string, error)

GetType calls the GetType RPC.

func (*NdefClient) IsConnected

func (c *NdefClient) IsConnected(ctx context.Context) (bool, error)

IsConnected calls the IsConnected RPC.

func (*NdefClient) IsWritable

func (c *NdefClient) IsWritable(ctx context.Context) (bool, error)

IsWritable calls the IsWritable RPC.

func (*NdefClient) MakeReadOnly

func (c *NdefClient) MakeReadOnly(ctx context.Context) (bool, error)

MakeReadOnly calls the MakeReadOnly RPC.

func (*NdefClient) WriteNdefMessage

func (c *NdefClient) WriteNdefMessage(ctx context.Context, arg0 int64) error

WriteNdefMessage calls the WriteNdefMessage RPC.

type NdefMessageClient

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

NdefMessageClient wraps the gRPC NdefMessageService client.

func NewNdefMessageClient

func NewNdefMessageClient(cc grpc.ClientConnInterface) *NdefMessageClient

NewNdefMessageClient creates a new NdefMessage client.

func (*NdefMessageClient) DescribeContents

func (c *NdefMessageClient) DescribeContents(ctx context.Context, handle int64) (int32, error)

DescribeContents calls the DescribeContents RPC.

func (*NdefMessageClient) Equals

func (c *NdefMessageClient) Equals(ctx context.Context, handle int64, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*NdefMessageClient) GetByteArrayLength

func (c *NdefMessageClient) GetByteArrayLength(ctx context.Context, handle int64) (int32, error)

GetByteArrayLength calls the GetByteArrayLength RPC.

func (*NdefMessageClient) GetRecords

func (c *NdefMessageClient) GetRecords(ctx context.Context, handle int64) (int64, error)

GetRecords calls the GetRecords RPC.

func (*NdefMessageClient) HashCode

func (c *NdefMessageClient) HashCode(ctx context.Context, handle int64) (int32, error)

HashCode calls the HashCode RPC.

func (*NdefMessageClient) ToByteArray

func (c *NdefMessageClient) ToByteArray(ctx context.Context, handle int64) (int64, error)

ToByteArray calls the ToByteArray RPC.

func (*NdefMessageClient) ToString

func (c *NdefMessageClient) ToString(ctx context.Context, handle int64) (string, error)

ToString calls the ToString RPC.

func (*NdefMessageClient) WriteToParcel

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

WriteToParcel calls the WriteToParcel RPC.

type NdefRecordClient

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

NdefRecordClient wraps the gRPC NdefRecordService client.

func NewNdefRecordClient

func NewNdefRecordClient(cc grpc.ClientConnInterface) *NdefRecordClient

NewNdefRecordClient creates a new NdefRecord client.

func (*NdefRecordClient) CreateApplicationRecord

func (c *NdefRecordClient) CreateApplicationRecord(ctx context.Context, handle int64, arg0 string) (int64, error)

CreateApplicationRecord calls the CreateApplicationRecord RPC.

func (*NdefRecordClient) CreateExternal

func (c *NdefRecordClient) CreateExternal(ctx context.Context, handle int64, arg0 string, arg1 string, arg2 int64) (int64, error)

CreateExternal calls the CreateExternal RPC.

func (*NdefRecordClient) CreateMime

func (c *NdefRecordClient) CreateMime(ctx context.Context, handle int64, arg0 string, arg1 int64) (int64, error)

CreateMime calls the CreateMime RPC.

func (*NdefRecordClient) CreateTextRecord

func (c *NdefRecordClient) CreateTextRecord(ctx context.Context, handle int64, arg0 string, arg1 string) (int64, error)

CreateTextRecord calls the CreateTextRecord RPC.

func (*NdefRecordClient) CreateUri1

func (c *NdefRecordClient) CreateUri1(ctx context.Context, handle int64, arg0 int64) (int64, error)

CreateUri1 calls the CreateUri1 RPC.

func (*NdefRecordClient) CreateUri1_1

func (c *NdefRecordClient) CreateUri1_1(ctx context.Context, handle int64, arg0 string) (int64, error)

CreateUri1_1 calls the CreateUri1_1 RPC.

func (*NdefRecordClient) DescribeContents

func (c *NdefRecordClient) DescribeContents(ctx context.Context, handle int64) (int32, error)

DescribeContents calls the DescribeContents RPC.

func (*NdefRecordClient) Equals

func (c *NdefRecordClient) Equals(ctx context.Context, handle int64, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*NdefRecordClient) GetId

func (c *NdefRecordClient) GetId(ctx context.Context, handle int64) (int64, error)

GetId calls the GetId RPC.

func (*NdefRecordClient) GetPayload

func (c *NdefRecordClient) GetPayload(ctx context.Context, handle int64) (int64, error)

GetPayload calls the GetPayload RPC.

func (*NdefRecordClient) GetTnf

func (c *NdefRecordClient) GetTnf(ctx context.Context, handle int64) (int16, error)

GetTnf calls the GetTnf RPC.

func (*NdefRecordClient) GetType

func (c *NdefRecordClient) GetType(ctx context.Context, handle int64) (int64, error)

GetType calls the GetType RPC.

func (*NdefRecordClient) HashCode

func (c *NdefRecordClient) HashCode(ctx context.Context, handle int64) (int32, error)

HashCode calls the HashCode RPC.

func (*NdefRecordClient) ToByteArray

func (c *NdefRecordClient) ToByteArray(ctx context.Context, handle int64) (int64, error)

ToByteArray calls the ToByteArray RPC.

func (*NdefRecordClient) ToMimeType

func (c *NdefRecordClient) ToMimeType(ctx context.Context, handle int64) (string, error)

ToMimeType calls the ToMimeType RPC.

func (*NdefRecordClient) ToString

func (c *NdefRecordClient) ToString(ctx context.Context, handle int64) (string, error)

ToString calls the ToString RPC.

func (*NdefRecordClient) ToUri

func (c *NdefRecordClient) ToUri(ctx context.Context, handle int64) (int64, error)

ToUri calls the ToUri RPC.

func (*NdefRecordClient) WriteToParcel

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

WriteToParcel calls the WriteToParcel RPC.

type TagClient

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

TagClient wraps the gRPC TagService client.

func NewTagClient

func NewTagClient(cc grpc.ClientConnInterface) *TagClient

NewTagClient creates a new Tag client.

func (*TagClient) DescribeContents

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

DescribeContents calls the DescribeContents RPC.

func (*TagClient) GetId

func (c *TagClient) GetId(ctx context.Context) (int64, error)

GetId calls the GetId RPC.

func (*TagClient) GetTechList

func (c *TagClient) GetTechList(ctx context.Context) (int64, error)

GetTechList calls the GetTechList RPC.

func (*TagClient) ToString

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

ToString calls the ToString RPC.

func (*TagClient) WriteToParcel

func (c *TagClient) 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