Packagenet.flashplusplus.Snapdragon.SocialCenter
Classpublic class SDSocialManager
InheritanceSDSocialManager Inheritance flash.events.EventDispatcher



Public Methods
 MethodDefined By
  
SDSocialManager(namespace:Namespace)
Constructor of SDSocialManager singleton class.
SDSocialManager
  
getInstance(nameSpace:Namespace):SDSocialManager
[static] Function to get SDSocialManager instance.
SDSocialManager
  
postImageToFacebook(text:String, image:Bitmap):void
Function to post an image to Facebook.
SDSocialManager
  
postImageToTwitter(text:String, image:Bitmap):void
Function to post an image to Twitter.
SDSocialManager
  
postLinkToFacebook(text:String, url:String):void
Function to post a link to Facebook.
SDSocialManager
  
postLinkToTwitter(text:String, url:String):void
Function to post a link to Twitter.
SDSocialManager
  
postToFacebook(text:String):void
Function to post a text to Facebook.
SDSocialManager
  
postToTwitter(text:String):void
Function to post a text to Twitter.
SDSocialManager
Constructor Detail
SDSocialManager()Constructor
public function SDSocialManager(namespace:Namespace)

Constructor of SDSocialManager singleton class. It cannot be used directly, use getSocialManager property of Snapdragon instead.

Parameters
namespace:Namespace — is an internal namespace, so this method cannot be used.

Throws
error — when it is called.
Method Detail
getInstance()method
public static function getInstance(nameSpace:Namespace):SDSocialManager

Function to get SDSocialManager instance. It is not meant to be used.

Parameters

nameSpace:Namespace — is an internal namespace, so this method cannot be used.

Returns
SDSocialManager — the only instance of SDSocialManager object.
postImageToFacebook()method 
public function postImageToFacebook(text:String, image:Bitmap):void

Since : iOS 6.0

Function to post an image to Facebook.

Parameters

text:String — will be displayed to the image.
 
image:Bitmap — is the picture to be post

postImageToTwitter()method 
public function postImageToTwitter(text:String, image:Bitmap):void

Since : iOS 6.0

Function to post an image to Twitter.

Parameters

text:String — will be displayed to the image.
 
image:Bitmap — is the picture to be post

postLinkToFacebook()method 
public function postLinkToFacebook(text:String, url:String):void

Since : iOS 6.0

Function to post a link to Facebook.

Parameters

text:String — will be displayed with the url.
 
url:String — is the link added to the post

postLinkToTwitter()method 
public function postLinkToTwitter(text:String, url:String):void

Since : iOS 6.0

Function to post a link to Twitter.

Parameters

text:String — will be displayed with the url.
 
url:String — is the link added to the post

postToFacebook()method 
public function postToFacebook(text:String):void

Since : iOS 6.0

Function to post a text to Facebook.

Parameters

text:String — will be posted.

postToTwitter()method 
public function postToTwitter(text:String):void

Since : iOS 6.0

Function to post a text to Twitter.

Parameters

text:String — will be posted.