Offers standard activities to perform on items.

The activity picker presents activities that can be performed on a set of items. For example sending an item via an email or SMS, saving an item to disk or opening an item in a third party app. Available activites vary depending on the provided items.


Presents the activity picker.

static present(activityItems: [any]): Promise<{string: any}>

Presents a share sheet with an array of items to share. The activities included in the presented sheet will vary based on the type of item.


Items to perform activity on.

Return value

Promise<{string: any}>
Promise carrying a value that tells which activity that was performed, if any. The promise is fulfilled when the sheet is dismissed.