Preferences in your iOS application
Property | Description |
---|---|
name | name of the section |
description | description of the section |
subcategories | data of all sub-categories to be shown inside the section |
Property | Description |
---|---|
category | This key is the id of the category which is used while updating the preference. |
name | name of the category to be shown on the UI |
description | description of the category to be shown on the UI |
preference | This key indicates if the category’s preference switch is on or off. Get OPT_IN when the switch is on and OPT_OUT when the switch is off |
is_editable | Indicates if the preference switch button is disabled or not. If its value is false then the preference setting for that category can’t be edited |
channels | data of all category channels to be shown below the sub-category. Loop through it to show checkboxes under every subcategory item. |
Property | Description |
---|---|
channel | name of the channel to be shown on UI. The same key will be used as id of the channel while updating the preference. |
preference | This key indicates if the channel’s preference switch is on or off. Get OPT_IN when the switch is on and OPT_OUT when the switch is off |
is_editable | Indicates if the preference checkbox is disabled or not. If its value is false then the preference setting for that channel can’t be edited |
Property | Description |
---|---|
channel | name of the channel to be shown on UI. The same key will be used as id of the channel while updating the preference. |
is_restricted | This key indicates the restriction level of channel. If restricted, notification will only be sent in the category where this channel is added as mandatory in notification category settings. True means Required radio button is selected. False means All radio button is selected. |
async -> PreferenceAPIResponse
async -> PreferenceAPIResponse
async -> PreferenceAPIResponse
async -> PreferenceAPIResponse