Package com.unblu.sdk.module.call
Class CallModuleProvider
- java.lang.Object
-
- com.unblu.sdk.module.call.CallModuleProvider
-
public class CallModuleProvider extends java.lang.Object
Entry point to use the call functionality of Unblu to make audio and video calls with Vonage. The class is used to create aCallModule
instance for Vonage and register it on the client configuration. The returned API must be registered usingUnbluClientConfiguration.Builder.registerModule(UnbluModule)
to enable its functionality. If you're using LiveKit as your call service provider, use LiveKitModuleProvider instead.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CallModule
create()
Creates and returns a new instance ofCallModule
to make audio and video calls with Vonage.static UnbluProvider
createForDynamic()
Creates and returns a new instance ofUnbluProvider
to make audio and video calls with Vonage.
-
-
-
Method Detail
-
create
public static CallModule create()
Creates and returns a new instance ofCallModule
to make audio and video calls with Vonage.- Returns:
- A
CallModule
instance to use with Vonage
-
createForDynamic
public static UnbluProvider createForDynamic()
Creates and returns a new instance ofUnbluProvider
to make audio and video calls with Vonage.This method is primarily intended for testing purposes. It allows you to switch between call service providers, provided you have multiple call service providers configured on the Collaboration Server. In most cases, you should use
create()
.- Returns:
- An
UnbluProvider
instance to use with Vonage
-
-