MiniProgramNfcPolicy class

Authority accepted by the host. Publisher requests never grant access.

Annotations

Constructors

MiniProgramNfcPolicy({bool enabled = false, List<String> allowedRecordTypes = const ['text', 'uri'], int maxReadMs = 15000, int maxRecords = 8, int maxMessageBytes = 4096})
const

Properties

allowedRecordTypes → List<String>
final
enabled → bool
final
hashCode → int
The hash code for this object.
no setteroverride
maxMessageBytes → int
final
maxReadMs → int
final
maxRecords → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
validate() → void

Operators

operator ==(Object other) → bool
The equality operator.
override