Package 

Class BatchUserProfile

    • Method Detail

      • setLanguage

        @Deprecated() BatchUserProfile setLanguage(String language)

        Set the language of this user.Setting this will affect targeting of this user, use it only if you know what you're doing.

        Parameters:
        language - a string that represent a locale language (ex: fr, en, pt, ru etc...
      • getLanguage

        @Deprecated() String getLanguage()

        Get the current language of this user.If you set a custom one using setLanguage this method will return this oneotherwise it will return the device default.

      • setRegion

        @Deprecated() BatchUserProfile setRegion(String region)

        Set the region (country) of this user.Setting this will affect targeting of this user, use it only if you know what you're doing.

        Parameters:
        region - a string that represent a locale region (country) (ex: FR, US, BR, RU etc...
      • getRegion

        @Deprecated() String getRegion()

        Get the current region of this user.If you set a custom one using setRegion this method will return this oneotherwise it will return the device default.

      • setCustomID

        @Deprecated() BatchUserProfile setCustomID(String customID)

        Set the custom user identifier to Batch.You should use this method if you have your own login system.Be carefull : Do not use it if you don't know what you are doing,giving a bad custom user ID can result in failure into offer delivery and restore