Package | com.myflashlab.air.extensions.share |
Class | public class Share |
Inheritance | Share Object |
Method | Defined By | ||
---|---|---|---|
share($text:String, $sharePositionOrigin:Rectangle = null):void [static]
Summons the platform's share sheet to share text. | Share |
Constant | Defined By | ||
---|---|---|---|
EXTENSION_ID : String = com.myflashlab.air.extensions.share [static] | Share | ||
VERSION : String = 0.0.11 [static] | Share |
share | () | method |
public static function share($text:String, $sharePositionOrigin:Rectangle = null):void
Summons the platform's share sheet to share text. Wraps the platform's native share dialog. Can share a text and/or a URL. It uses the ACTION_SEND Intent on Android and UIActivityViewController on iOS. The optional `sharePositionOrigin` parameter can be used to specify a global origin rect for the share sheet to popover from on iPads. It has no effect on non-iPads.
Parameters
$text:String | |
$sharePositionOrigin:Rectangle (default = null )
|
EXTENSION_ID | Constant |
public static const EXTENSION_ID:String = com.myflashlab.air.extensions.share
VERSION | Constant |
public static const VERSION:String = 0.0.11