1.0.1 • Published 1 year ago

@adikorici/nfcreader v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

nfcreader

NFC Reader Plugin for Ionic Capacitor app

Install

npm install nfcreader
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


writeNfcTag(...)

writeNfcTag(options: { data: string; }) => Promise<{ value: string; }>
ParamType
options{ data: string; }

Returns: Promise<{ value: string; }>


startNfcReading(...)

startNfcReading(data: any) => Promise<any>
ParamType
dataany

Returns: Promise<any>


stopNfcReading(...)

stopNfcReading(data: any) => Promise<any>
ParamType
dataany

Returns: Promise<any>


setNfcDataCallback(...)

setNfcDataCallback(data: any) => Promise<any>
ParamType
dataany

Returns: Promise<any>


checkNfcAvailability(...)

checkNfcAvailability(options: { available: boolean; }) => Promise<{ available: boolean; }>
ParamType
options{ available: boolean; }

Returns: Promise<{ available: boolean; }>


readNfcTag(...)

readNfcTag(options: { data: string; }) => Promise<{ data: string; }>
ParamType
options{ data: string; }

Returns: Promise<{ data: string; }>


1.0.1

1 year ago