The documentation is currently a work in progress whilst the product is in alpha.

NativeAndroidChannelGroup

Android Only

An interface which describes a channel group which has been fetched from the device.


Contains additional information which is only available when fetching the channel group from the device.

Properties

blocked

Android Only

Returns whether or not notifications posted to a Channel belonging to this group are blocked by the user.

blocked: boolean;

On API levels < 28, returns false.

View the Listening to channel events documentation to learn more about subscribing to when a channel is blocked by the user.

channels

Returns a list of channels assigned to this channel group.

channels: NativeAndroidChannel[];

description

Android Only

An optional description of the group. This is visible to the user.

description?: undefined | string;

On Android APIs less than 28 this will always be undefined.

id

Unique id for this channel group.

id: string;

name

The name of the group. This is visible to the user so should be a descriptive name which categorizes other channels (e.g. reminders).

name: string;

The recommended maximum length is 40 characters; the value may be truncated if it is too long.


Copyright 2020 © Invertase Limited

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License and code samples are licensed under the Apache 2.0 License.

All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.