getShareImageIntent

open fun getShareImageIntent(content: String, imagePath: String): Intent

Return the intent of share image.

Return

the intent of share image

Parameters

content

The content.

imagePath

The path of image.

open fun getShareImageIntent(content: String, imagePath: String, isNewTask: Boolean): Intent

Return the intent of share image.

Return

the intent of share image

Parameters

content

The content.

imagePath

The path of image.

isNewTask

True to add flag of new task, false otherwise.

open fun getShareImageIntent(content: String, image: File): Intent

Return the intent of share image.

Return

the intent of share image

Parameters

content

The content.

image

The file of image.

open fun getShareImageIntent(content: String, image: File, isNewTask: Boolean): Intent

Return the intent of share image.

Return

the intent of share image

Parameters

content

The content.

image

The file of image.

isNewTask

True to add flag of new task, false otherwise.

open fun getShareImageIntent(content: String, uri: Uri): Intent

Return the intent of share image.

Return

the intent of share image

Parameters

content

The content.

uri

The uri of image.

open fun getShareImageIntent(content: String, uri: Uri, isNewTask: Boolean): Intent

Return the intent of share image.

Return

the intent of share image

Parameters

content

The content.

uri

The uri of image.

isNewTask

True to add flag of new task, false otherwise.