Class UnbluClientConfiguration

    • Constructor Detail

      • UnbluClientConfiguration

        protected UnbluClientConfiguration()
    • Method Detail

      • getUnbluBaseUrl

        @NonNull
        public java.lang.String getUnbluBaseUrl()
        Returns:
        The currently configured base URL
      • getApiKey

        @NonNull
        public java.lang.String getApiKey()
        Returns:
        The currently configured Unblu API key
      • getUnbluClientCertRequestData

        @Nullable
        public UnbluClientCertRequestData getUnbluClientCertRequestData()
        Returns:
        The current clientCertRequestData required for a client certificate request in the Unblu SDK
      • getAccessToken

        public java.lang.String getAccessToken()
        Returns:
        The currently configured access token value, a JSON Web Token
      • getInternalUrlPatternWhitelist

        @NonNull
        public java.util.List<java.util.regex.Pattern> getInternalUrlPatternWhitelist()
        Returns:
        The currently configured URL patterns which may be accessed by the WebView
      • getExternalLinkHandler

        @NonNull
        public UnbluExternalLinkHandler getExternalLinkHandler()
        Returns:
        The currently configured URL patterns which may be opened in the system browser
      • getOauthToken

        public java.lang.String getOauthToken()
        Returns:
        The currently configured OAuth 2.0 token, received from an identity provider
      • getEntryPath

        @Nullable
        public java.lang.String getEntryPath()
        Returns:
        The currently configured entry path
      • getCustomCookies

        @NonNull
        public java.util.Set<UnbluCookie> getCustomCookies()
        Returns:
        A Set containing a copy of the currently configured custom cookies.
      • getLanguage

        @Nullable
        public java.lang.String getLanguage()
        Returns:
        A String representing the currently configured language
      • getNamedArea

        @Nullable
        public java.lang.String getNamedArea()
        Returns:
        The currently configured named area
      • isNotificationsEnabled

        public boolean isNotificationsEnabled()
        Returns:
        true if notifications via Unblu are enabled in the current configuration, false otherwise
      • isCameraUploadsEnabled

        public boolean isCameraUploadsEnabled()
        Returns:
        true if one or both of photo or video uploads is enabled in the current configuration, false if both are disabled
      • isPhotoUploadsEnabled

        public boolean isPhotoUploadsEnabled()
        Returns:
        true if photo uploads are enabled in the current configuration, false otherwise
      • isVideoUploadsEnabled

        public boolean isVideoUploadsEnabled()
        Returns:
        true if video uploads are enabled in the current configuration, false otherwise
      • isAudioUploadsEnabled

        public boolean isAudioUploadsEnabled()
        Returns:
        true if audio uploads are enabled in the current configuration, false otherwise
      • getPreferencesStorage

        @NonNull
        public UnbluPreferencesStorage getPreferencesStorage()
        Returns:
        The currently configured storage where Unblu saves and restores the SDK's preferences
      • getModules

        @NonNull
        public java.util.HashSet<UnbluModule> getModules()
        Returns:
        A list of all currently configured modules
      • getDownloadHandler

        @NonNull
        public UnbluDownloadHandler getDownloadHandler()
        Returns:
        The currently configured listener used to handle file downloads
      • getNotificationInterceptor

        public NotificationInterceptor getNotificationInterceptor()
        Returns:
        The currently configured notification interceptor that transforms notifications before they're displayed