RegistrationSessionSettings class

Settings for registration sessions

Inheritance

Constructors

RegistrationSessionSettings({@required String userId, List<Bearing> bearingsToRegister})
@param userId ID of the user whose faces should be registered
RegistrationSessionSettings.fromJson(Map<String, dynamic> json)
Factory method to create from JSON string

Properties

bearingsToRegister ↔ List<Bearing>
Bearings to register in this session [...]
read / write
expiryTime ↔ num
Time it will take for the session to expire (in seconds)
read / write, inherited
hashCode → int
The hash code for this object. [...]
read-only, inherited
numberOfResultsToCollect ↔ num
The number of detected faces and images the session must collect before finishing
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
showResult ↔ bool
Set to true to display the result of the session to the user
read / write, inherited
userId ↔ String
ID of the user to register
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() → Map<String, dynamic>
to JSON mapper for string conversion
override
toString() → String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited