shareFile

fun shareFile(    activity: Activity,     file: File,     @StringOrStringRes chooserTitle: Any = R.string.share,     @Size(min = 1, max = 100) case: String = Event.ParameterValue.N_A)

Share a file (image, video, ect.) with other apps.

Parameters

activity

Activity.

file

File to share.

chooserTitle

Title for share chooser, it can be a string or an id of a string resource.

case

Reason that the share action is called. This applies only if Firebase Analytics is enabled, the share event is register and contains a parameter with share case.