Configures options for ChannelIO.boot().
Field | Type | Description |
|---|---|---|
pluginKey |
| A plugin key. |
memberId |
| An identifier to distinguish each user. See how to boot as a member user. |
memberHash |
| A HMAC-SHA256 value of memberId. See enabling member hash. You should also pass |
profile |
| A user’s profile. |
language |
| A user’s language. If null, the language is set to the language of the device. |
unsubscribeEmail |
| Whether to unsubscribe from the email marketing message. |
unsubscribeTexting |
| Whether to unsubcribe from the SMS marketing message. |
trackDefaultEvent |
| Whether to track default events such as PageView. |
hidePopup |
| Whether to hide popups such as marketing popup and in-app notification. |
channelButtonOption |
| An option for Channel button. See customizing channel button. |
bubbleOption |
| An option for popups such as marketing popup and in-app notification. See customizing popups. |
appearance |
| An option for appearance that the SDK will use. |
Languages that the Channel Talk supports.
Field | Description |
|---|---|
KOREAN | Korean. |
JAPANESE | Japanese. |
ENGLISH | English. |
Preset icons for the Channel button.
Position values for the Channel button.
An option for the Channel button.
Field | Type | Description |
|---|---|---|
icon | ChannelButtonIcon | The icon type of the Channel button. |
position | ChannelButtonPosition | The position of the Channel button. |
xMargin | float | A X-axis margin from |
yMargin | float | A Y-axis margin from |
Field | Type | Description |
|---|---|---|
icon | ChannelButtonIcon | The icon type of the Channel button. |
Field | Type | Description |
|---|---|---|
position | ChannelButtonPosition | The position of the Channel button. |
xMargin | float | A X-axis margin from |
yMargin | float | A Y-axis margin from |
An option for the marketing popups and in-app notifications.
Field | Type | Description |
|---|---|---|
position |
| The position of the popup. |
yMargin | float | A Y-axis margin from position in DP. |
A user’s profile. See BootConfig#setProfile(Profile).
Field | Type | Description |
|---|---|---|
name |
| A name of a user. |
| An email of a user. | |
mobileNumber |
| A mobile number of a user. |
avatarUrl |
| An avatar URL of a user. |
Set custom field for the profile.
Field | Type | Description |
|---|---|---|
propertyKey |
| A key of the profile property. |
propertyValue |
| A value of the profile property. |
Set multiple profile properties.
Field | Type | Description |
|---|---|---|
id |
| A user id. |
memberId |
| An identifier to distinguish member users. Anonymous user is null. |
name |
| A name of the user. |
avatarUrl |
| An avatar URL of the user. |
profile |
| A profile of the user. |
alert | int | The number of important notifications. The default channel button shows it as a number in the badge. |
unread | int | The number of unread notifications. It includes the value of |
tags |
| A tag list of the user. |
language |
| A language of the user. |
unsubscribeTexting | boolean | Whether the user has unsubcribed from receiving a SMS or LMS marketing message. |
unsubcribeEmail | boolean | Whether the user has unsubscribed from receiving an email marketing message. |
The pop-up information data object delivered as a parameter in the onPopupDataReceived
Field | Type | Description |
|---|---|---|
chatId |
| ID for the user chat corresponding to the message |
avatarUrl |
| URL of the profile image of the message author |
name |
| Name of the message author |
message |
| Content of the message |
timestamp |
| Unix Timestamp for the time the message was sent |
Builds a new User instance. See ChannelIO.updateUser(UserData, UserUpdateCallback) for details.
Sets a language of the user.
Field | Type | Description |
|---|---|---|
language |
| A language of the user. |
Sets a tag list of the user.
Field | Type | Description |
|---|---|---|
tags |
| A tag list of the user. |
Sets profile information of the user.
Field | Type | Description |
|---|---|---|
tags |
| A tag list of the user. |
Sets profile information of the user only when it is not present.
Field | Type | Description |
|---|---|---|
profileOnceMap |
| A profile information of the user. |
Sets whether the user wants to unsubscribe from an email marketing message.
Field | Type | Description |
|---|---|---|
unsubcribeEmail |
| Whether the user wants to unsubscribe from an email marketing message. |
Sets whether the user wants to unsubscribe from a SMS or LMS marketing message.
Field | Type | Description |
|---|---|---|
unsubscribeTexting |
| Whether the user wants to unsubscribe from a SMS or LMS marketing message. |
A result for ChannelIO.boot().
Field | Description |
|---|---|
SUCCESS | The boot was successful. |
NOT_INITIALIZED |
|
NETWORK_TIMEOUT | The boot failed because of a network issue. |
NOT_AVAILABLE_VERSION | Not a supported SDK version. |
SERVICE_UNDER_CONSTRUCTION | Channel Talk server is under construction. |
REQUIRE_PAYMENT | The channel is blocked or you need to check the subscription plan. |
ACCESS_DENIED | Server responded with 4xx status code. |
UNKNOWN | An unknown error. |
An appearance for the SDK.
Field | Description |
|---|---|
LIGHT | A light theme. |
DARK | A dark theme. |
SYSTEM | Follows the system theme. |