SORICallerMetadata class abstract final

Caller metadata sent with server recognition: the metadata object of each server query. SORI Console delivers it in live.recognition and live.segment webhooks.

The native SDKs own the wire encoding and apply the final sanitation.

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

Operators

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

Static Methods

validate(Map<Object?, Object?> metadata, [String name = 'metadata']) → Map<String, String>
Returns an unmodifiable copy of metadata, or throws ArgumentError for a non-string key or value, a reserved key, or a map over the limits.

Constants

maxEncodedBytes → const int
UTF-8 bytes of the map encoded as compact JSON.
maxEntries → const int
maxKeyLength → const int
Unicode code points per key.
maxValueLength → const int
Unicode code points per value.
reservedKeys → const Set<String>
Server-owned keys; Console never accepts them from a caller.