Packagecom.distriqt.extension.facebook.share
Classpublic final class FacebookShare
InheritanceFacebookShare Inheritance flash.events.EventDispatcher

This class represents the FacebookShare extension.



Public Properties
 PropertyDefined By
  gameRequestDialog : GameRequestDialog
Deprecated: This functionality has been deprecated and is only available to legacy game applications
[read-only] Access to the GameRequestDialog functionality to enable game requests from your application.
FacebookShare
  implementation : String
[read-only] The implementation currently in use.
FacebookShare
  instance : FacebookShare
[static] [read-only] The singleton instance of the FacebookShare class.
FacebookShare
  isSupported : Boolean
[static] [read-only] Whether the current device supports the extensions functionality
FacebookShare
  nativeVersion : String
[read-only] The native version string of the native extension.
FacebookShare
  service : FacebookShare
[static] [read-only] The singleton instance of the FacebookShare class.
FacebookShare
  shareDialog : ShareDialog
[read-only] Access to the ShareDialog functionality to enable people to share content through Facebook from your application.
FacebookShare
  version : String
[read-only] The version of this extension.
FacebookShare
Public Methods
 MethodDefined By
  
Constructor You should not call this directly, but instead use the singleton access
FacebookShare
  
dispose():void
Disposes the extension and releases any allocated resources.
FacebookShare
Public Constants
 ConstantDefined By
  EXT_CONTEXT_ID : String = com.distriqt.facebook.Share
[static]
FacebookShare
  VERSION : String = 17.0.0
[static]
FacebookShare
Property Detail
gameRequestDialogproperty
gameRequestDialog:GameRequestDialog  [read-only]
Deprecated: This functionality has been deprecated and is only available to legacy game applications

Access to the GameRequestDialog functionality to enable game requests from your application.


Implementation
    public function get gameRequestDialog():GameRequestDialog
implementationproperty 
implementation:String  [read-only]

The implementation currently in use. This should be one of the following depending on the platform in use and the functionality supported by this extension:


Implementation
    public function get implementation():String
instanceproperty 
instance:FacebookShare  [read-only]

The singleton instance of the FacebookShare class.


Implementation
    public static function get instance():FacebookShare

Throws
Error — If there was a problem creating or accessing the extension, or if the key is invalid
isSupportedproperty 
isSupported:Boolean  [read-only]

Whether the current device supports the extensions functionality


Implementation
    public static function get isSupported():Boolean
nativeVersionproperty 
nativeVersion:String  [read-only]

The native version string of the native extension.


Implementation
    public function get nativeVersion():String
serviceproperty 
service:FacebookShare  [read-only]

The singleton instance of the FacebookShare class.


Implementation
    public static function get service():FacebookShare

Throws
Error — If there was a problem creating or accessing the extension, or if the key is invalid
shareDialogproperty 
shareDialog:ShareDialog  [read-only]

Access to the ShareDialog functionality to enable people to share content through Facebook from your application.


Implementation
    public function get shareDialog():ShareDialog
versionproperty 
version:String  [read-only]

The version of this extension.

This should be of the format, MAJOR.MINOR.BUILD


Implementation
    public function get version():String
Constructor Detail
FacebookShare()Constructor
public function FacebookShare()

Constructor You should not call this directly, but instead use the singleton access

Method Detail
dispose()method
public function dispose():void

Disposes the extension and releases any allocated resources. Once this function has been called, a call to init is neccesary again before any of the extensions functionality will work.

Constant Detail
EXT_CONTEXT_IDConstant
public static const EXT_CONTEXT_ID:String = com.distriqt.facebook.Share

VERSIONConstant 
public static const VERSION:String = 17.0.0