setEmailTags
Associates device with given email tags. If setEmailTags request fails email tags will be resent on the next application launch. Example:
pushwoosh.setEmailTags(Tags.intTag("intTag", 42), "my@email.com");
Content copied to clipboard
Parameters
emailTags
email
user email
open fun setEmailTags(emailTags: TagsBundle, email: String, callback: Callback<Void, PushwooshException>)
Associates device with given email tags. If setEmailTags request fails email tags will be resent on the next application launch. Example:
List<String> emails = new ArrayList<>();
emails.add("my@email.com");
pushwoosh.setEmailTags(Tags.intTag("intTag", 42), emails, (result) -> {
if (result.isSuccess()) {
// tags sucessfully sent
}
else {
// failed to send tags
}
});
Content copied to clipboard