Package com.unblu.sdk.module.call
Interface CallModule
-
- All Superinterfaces:
com.unblu.sdk.core.internal.call.UnbluCallModule
,UnbluModule
public interface CallModule extends com.unblu.sdk.core.internal.call.UnbluCallModule
The API for the call module, independent of the call service provider. The API only works if the module was registered in the configuration of theUnbluClient
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.reactivex.rxjava3.core.Observable
isCallActive()
Monitors Unblu for ongoing calls.void
isCallActive(SuccessCallback<java.lang.Boolean> success, NotInitializedExceptionCallback failure)
Checks if there's an ongoing call in Unblu and returns a callback with the result of the check.
-
-
-
Method Detail
-
isCallActive
void isCallActive(@NotNull SuccessCallback<java.lang.Boolean> success, @Nullable NotInitializedExceptionCallback failure)
Checks if there's an ongoing call in Unblu and returns a callback with the result of the check.- Parameters:
success
- Called with the state of the callfailure
- Called if the API wasn't initialized
-
isCallActive
@NotNull io.reactivex.rxjava3.core.Observable isCallActive()
Monitors Unblu for ongoing calls.- Returns:
- An
Observable
that emits when a call is active
-
-