Action info
Shares text or a single file.
Value
Description
*
Wildcard
"com.huawei.android.instantshare"
Package name of the explicit share page.
Type
Name
String
Intent.EXTRA_TEXT
Shares text content.
Uri
Intent.EXTRA_STREAM
Shares the file URI.
Intent.FLAG_ACTIVITY_NEW_TASK
Starts the page in the new stack.
Intent.FLAG_GRANT_READ_URI_PERMISSION
Passes the permission during file sharing.