Package io.didomi.sdk

Class DidomiMultiUserParameters

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      UserAuth getUserAuth() Main user authentication
      • io.didomi.sdk.user.model.UserAuthWithEncryptionParams (encryption)

      • io.didomi.sdk.user.model.UserAuthWithHashParams (hash)

      • io.didomi.sdk.user.model.UserAuthWithoutParams (ID only)

      UserAuthParams getDcsUserAuth() User authentication for Didomi Consent String
      • io.didomi.sdk.user.model.UserAuthWithEncryptionParams (encryption)

      • io.didomi.sdk.user.model.UserAuthWithHashParams (hash)

      final Array<UserAuthParams> getSynchronizedUsers() Synchronized user array
      • io.didomi.sdk.user.model.UserAuthWithEncryptionParams (encryption)

      • io.didomi.sdk.user.model.UserAuthWithHashParams (hash)

      FragmentActivity getActivity() Activity of the application if the notice should be displayed when the consent expired or the user is new
      Boolean isUnderage() If the user is underage (null - by default - will keep the previous setting)
      final Boolean getOverrideMainStorage() If the current user is using the main storage or not (true by default)
      Boolean equals(Object other)
      Integer hashCode()
      • Methods inherited from class java.lang.Object

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

      • DidomiMultiUserParameters

        DidomiMultiUserParameters(UserAuth userAuth, UserAuthParams dcsUserAuth, List<UserAuthParams> synchronizedUsers, FragmentActivity activity, Boolean isUnderage)
        Alternative constructor allowing to specify synchronizedUsers as List
        Parameters:
        userAuth - as UserAuth the main user authentication
        dcsUserAuth - as UserAuthParams the user authentication for Didomi Consent String
        synchronizedUsers - as List of UserAuthParams the synchronized users
        activity - as FragmentActivity the activity of the application if the notice should be displayed when the consent expired or the user is new
        isUnderage - as Boolean If the user is underage (null will keep the previous setting)
      • DidomiMultiUserParameters

        DidomiMultiUserParameters(UserAuth userAuth, UserAuthParams dcsUserAuth, Array<UserAuthParams> synchronizedUsers, FragmentActivity activity, Boolean isUnderage, Boolean overrideMainStorage)
      • DidomiMultiUserParameters

        DidomiMultiUserParameters(UserAuth userAuth, UserAuthParams dcsUserAuth, Array<UserAuthParams> synchronizedUsers, FragmentActivity activity, Boolean isUnderage)
      • DidomiMultiUserParameters

        DidomiMultiUserParameters(UserAuth userAuth, UserAuthParams dcsUserAuth, Array<UserAuthParams> synchronizedUsers, FragmentActivity activity)
      • DidomiMultiUserParameters

        DidomiMultiUserParameters(UserAuth userAuth, UserAuthParams dcsUserAuth, Array<UserAuthParams> synchronizedUsers)
      • DidomiMultiUserParameters

        DidomiMultiUserParameters(UserAuth userAuth, UserAuthParams dcsUserAuth)
      • DidomiMultiUserParameters

        DidomiMultiUserParameters(UserAuth userAuth)
    • Method Detail

      • getUserAuth

         UserAuth getUserAuth()

        Main user authentication

        • io.didomi.sdk.user.model.UserAuthWithEncryptionParams (encryption)

        • io.didomi.sdk.user.model.UserAuthWithHashParams (hash)

        • io.didomi.sdk.user.model.UserAuthWithoutParams (ID only)

      • getDcsUserAuth

         UserAuthParams getDcsUserAuth()

        User authentication for Didomi Consent String

        • io.didomi.sdk.user.model.UserAuthWithEncryptionParams (encryption)

        • io.didomi.sdk.user.model.UserAuthWithHashParams (hash)

      • getSynchronizedUsers

         final Array<UserAuthParams> getSynchronizedUsers()

        Synchronized user array

        • io.didomi.sdk.user.model.UserAuthWithEncryptionParams (encryption)

        • io.didomi.sdk.user.model.UserAuthWithHashParams (hash)

      • getActivity

         FragmentActivity getActivity()

        Activity of the application if the notice should be displayed when the consent expired or the user is new

      • isUnderage

         Boolean isUnderage()

        If the user is underage (null - by default - will keep the previous setting)