CallService class abstract

Abstract contract for real-time 1:1 calls, kept in neom_core so callers (e.g. neom_inbox) depend ONLY on this interface — never on the concrete implementation. The WebRTC engine (neom_rooms) provides the implementation and is wired via DI in the host app, so the inbox stays decoupled.

Constructors

CallService()

Properties

canCall → bool
Whether a 1:1 call can be placed right now (engine ready / platform supported). Lets the UI hide the call button when unavailable.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

joinCall(String roomId, {bool video}) → Future<void>
Joins an existing call room — e.g. after the callee taps the incoming-call notification.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startCall(String peerProfileId, {String peerName, String peerPhotoUrl, bool video}) → Future<void>
Starts a 1:1 call with peerProfileId: creates/joins the two-person room, rings the peer (push notification) and opens the call screen for the caller. video = false → voice-only call.
toString() → String
A string representation of this object.
inherited

Operators

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