Methods for sharing content using the device's share sheet.

Hierarchy

  • Share

Methods

Methods

  • Open system share for a link

    Example:

    await Eitri.share.link({
    url: "https://www.eitriplatform.com/"
    })

    Compatibility Control

    • API LEVEL 7 - Functionality added

    Parameters

    Returns Promise<void>

  • Open system share for a simple text

    Example:

    await Eitri.share.text({
    text: "hello world"
    })

    Compatibility Control

    • API LEVEL 9 - Functionality added

    Parameters

    Returns Promise<void>

Generated using TypeDoc