MethodChannelJackfield class

Channel-backed adapter that validates every request and decoded payload.

Commands return typed transport/protocol failures. Capability/diagnostic protocol failures throw JackfieldProtocolException. Invalid stream messages are stream errors and do not acknowledge events or close the subscription. Transport failures use JackfieldTransportException. A cancellation failure after the last listener leaves is reported to FlutterError in sanitized form.

Inheritance

Constructors

MethodChannelJackfield()
Creates the adapter for Jackfield's registered native channels.

Properties

events → Stream<JackfieldEvent>
Publishes validated call events from the native event channel.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
pushTokenUpdates → Stream<PushTokenUpdate>
Publishes validated provider-token changes from the native event channel.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

acknowledgeEvents(Set<EventId> ids) → Future<JackfieldResult<void>>
Acknowledges only Flutter inbox event delivery.
override
capabilities() → Future<JackfieldCapabilities>
Reads the native adapter's actual feature set and UI mechanism.
override
completeAction(ActionId id, ActionResult result) → Future<JackfieldResult<void>>
Completes the action without acknowledging event delivery.
override
diagnostics() → Future<JackfieldDiagnostics>
Reads sanitized native permission and queue diagnostics.
override
endCall(CallId id, EndReason reason) → Future<JackfieldResult<CallSnapshot>>
Sends a call termination request with its reason.
override
initialize(JackfieldConfiguration configuration) → Future<JackfieldResult<void>>
Sends validated initialization over the native control channel.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pushTokens() → Future<JackfieldResult<PushTokenSnapshot>>
Reads provider tokens through a versioned channel query.
override
reportIncomingCall(IncomingCall call) → Future<JackfieldResult<CallSnapshot>>
Sends an incoming call request and decodes its typed snapshot.
override
startOutgoingCall(OutgoingCall call) → Future<JackfieldResult<CallSnapshot>>
Sends an outgoing call request and decodes its typed snapshot.
override
toString() → String
A string representation of this object.
inherited
updateCall(CallUpdate update) → Future<JackfieldResult<CallSnapshot>>
Sends a partial call presentation update.
override

Operators

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