Class AppSettings

  • All Implemented Interfaces:
    java.io.Serializable

    public class AppSettings
    extends java.lang.Object
    implements java.io.Serializable
    The AppSettings class helps the developers to provide the required details and set various parameters based on which the SDK is supposed to function.
    See Also:
    Serialized Form
    • Field Detail

      • SUBSCRIPTION_TYPE_NONE

        public static final java.lang.String SUBSCRIPTION_TYPE_NONE
        See Also:
        Constant Field Values
      • SUBSCRIPTION_TYPE_ALL_USERS

        public static final java.lang.String SUBSCRIPTION_TYPE_ALL_USERS
        See Also:
        Constant Field Values
      • SUBSCRIPTION_TYPE_ROLES

        public static final java.lang.String SUBSCRIPTION_TYPE_ROLES
        See Also:
        Constant Field Values
      • SUBSCRIPTION_TYPE_FRIENDS

        public static final java.lang.String SUBSCRIPTION_TYPE_FRIENDS
        See Also:
        Constant Field Values
    • Method Detail

      • getSubscriptionType

        public java.lang.String getSubscriptionType()
      • getRegion

        public java.lang.String getRegion()
        method to get the region specified
        Returns:
        AppSettingsBuilder object when is called
      • getRoles

        public java.util.List<java.lang.String> getRoles()
        method to get the list of roles specified for presence subscription
        Returns:
        AppSettingsBuilder object when is called
      • isAutoJoinEnabled

        public boolean isAutoJoinEnabled()
        method to get if aut join groups settings is turned on
        Returns:
        AppSettingsBuilder object when is called
      • shouldAutoEstablishSocketConnection

        public boolean shouldAutoEstablishSocketConnection()
        method to get if the web socket connection is established automatically when init is called
        Returns:
        AppSettingsBuilder object when is called