share Text
fun shareText( activity: Activity, @StringOrStringRes content: Any, @StringOrStringRes chooserTitle: Any = R.string.share, @Size(min = 1, max = 100 ) case: String = Event.ParameterValue.N_A)
Content copied to clipboard
Share text with other apps.
Parameters
activity
Activity.
content
Text to share, it can be a string or an id of a string resource.
chooser Title
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.