getChannel

Android Only

API used to return a channel on supported Android devices.



getChannel(channelId: string): Promise<NativeAndroidChannel | null>;

This API is used to return a NativeAndroidChannel. Returns null if no channel could be matched to the given ID.

A "native channel" also includes additional properties about the channel at the time it's retrieved from the device. View the NativeAndroidChannel documentation for more information.

View the Channels & Groups documentation for more information.


PropertyDescriptionOptional
channelId

The channel ID created with createChannel. If a unknown channel ID is provided, null is returned.


Copyright 2020 - 2021 © 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.