NativeMessageHandleAbi enum
One binding family must cover producers, consumers, exports and cleanup.
Values
- legacy → const NativeMessageHandleAbi
-
Original signed-32-bit ABI, retained for older native libraries.
- wide → const NativeMessageHandleAbi
-
Additive version-1 signed-64-bit ABI; WAMP wire IDs are unchanged.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
-
detect(
DynamicLibrary library) → NativeMessageHandleAbi - Reads the advertisement before any message function is bound or called.
-
negotiate(
{required int? version, required bool providesSymbol(String symbol)}) → NativeMessageHandleAbi - Validates a native advertisement against its available symbol set.
Constants
-
requiredWideSymbols
→ const List<
String> - All symbols required by version 1, including the shared owner destructor.
-
values
→ const List<
NativeMessageHandleAbi> - A constant List of the values in this enum, in order of their declaration.