@ua/react-native-airship
    Preparing search index...

    Class AirshipChannel

    Airship channel.

    Index

    Constructors

    Methods

    • Adds a device tag. Deprecated. Use editTags() instead.

      Parameters

      • tag: string

        The tag.

      Returns Promise<void>

      A promise.

    • Enables channel creation if channel creation has been delayed. It is only necessary to call this when isChannelCreationDelayEnabled has been set to true in the airship config. Deprecated. Use the Private Manager to disable all features instead.

      Returns Promise<void>

    • Gets the channel Id.

      Returns Promise<string | null | undefined>

      A promise with the result.

    • Gets a list of the channel's subscriptions.

      Returns Promise<string[]>

      A promise with the result.

    • Gets the device tags.

      Returns Promise<string[]>

      A promise with the result.

    • Removes a device tag. Deprecated. Use editTags() instead.

      Parameters

      • tag: string

        The tag.

      Returns Promise<void>

      A promise.

    • Returns the channel ID. If the channel ID is not yet created the function it will wait for it before returning. After the channel ID is created, this method functions the same as getChannelId().

      Returns Promise<string | null | undefined>

      A promise with the result.