CalloopNativeCalls class
Constructors
- CalloopNativeCalls(CalloopAgent agent, {NativeCallUi? ui, NativeCallStyle style = const NativeCallStyle(), NativeRingPolicy ringPolicy = NativeRingPolicy.whenInBackground, bool appInForeground()?, Duration pendingFor = const Duration(seconds: 45)})
Properties
- agent → CalloopAgent
-
final
- appInForeground → bool Function()?
-
For NativeRingPolicy.whenInBackground: is the app in front now?
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onError
→ Stream<
Object> -
Failures applying a native action (e.g. accept failed); the call's own end reason tells the rest.
no setter
- pendingFor → Duration
-
How long a tap on the native screen waits for its call to arrive.
final
- ringPolicy → NativeRingPolicy
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → NativeCallStyle
-
final
- ui → NativeCallUi
-
final
Methods
-
attach(
) → Future< void> - Start mirroring. Also picks up a native Accept that launched the app.
-
detach(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reportOutgoing(
CalloopCall call) → Future< void> - Show an outbound call on the native call UI (optional; keeps the OS aware of the call).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited