CalloopBackground class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
declineCall ({required String url , required String deviceId , required Object callId , String ? token , TokenProvider ? getToken , Duration timeout = const Duration(seconds: 10) , CalloopTransport ? transport })
→ Future <bool >
Decline a call without the app's agent: connect, send call:reject, close.
For a Decline tapped on the native screen while the app isn't running.
The connection is auxiliary (purpose 'decline'): it takes no part in
presence, and Calloop doesn't redeliver the ringing call to it.
handlePush (Map data , {NativeCallUi ? ui , NativeCallStyle style = const NativeCallStyle() })
→ Future <CalloopPush ? >
Handle a push: a Calloop call push shows or dismisses the native call
screen and returns the parsed push; anything else returns null untouched.