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 the UnbluClient.
  • Method Details

    • isCallActive

      void isCallActive(@NotNull SuccessCallback<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 call
      failure - 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
    • setCallIndicatorButtonClickInterceptor

      void setCallIndicatorButtonClickInterceptor(IndicatorButtonClickInterceptor interceptor)
      Sets an interceptor for call indicator button clicks.