Class LiveKitModuleProvider


  • public class LiveKitModuleProvider
    extends java.lang.Object
    Entry point to use the call functionality of Unblu to make audio and video calls with LiveKit. The class is used to create a CallModule instance for Vonage and register it on the client configuration. The returned API must be registered using UnbluClientConfiguration.Builder.registerModule(com.unblu.sdk.core.UnbluModule) to enable its functionality. If you're using Vonage as your call service provider, use CallModuleProvider instead.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static CallModule create()
      Creates and returns a new instance of CallModule to make audio and video calls with LiveKit.
      static UnbluProvider createForDynamic()
      Creates and returns a new instance of UnbluProvider to make audio and video calls with LiveKit.
      static void setLiveKitLogLevel​(io.livekit.android.util.LoggingLevel logLevel)
      Sets the LiveKit log level
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

        public static CallModule create()
        Creates and returns a new instance of CallModule to make audio and video calls with LiveKit.
        Returns:
        A CallModule instance to use with LiveKit
      • createForDynamic

        public static UnbluProvider createForDynamic()
        Creates and returns a new instance of UnbluProvider to make audio and video calls with LiveKit.

        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 LiveKit
      • setLiveKitLogLevel

        public static void setLiveKitLogLevel​(io.livekit.android.util.LoggingLevel logLevel)
        Sets the LiveKit log level
        Parameters:
        logLevel - The log level to set for LiveKit. The available enum values are VERBOSE, INFO, DEBUG, WARN, ERROR, WTF, and OFF.