Package | com.milkmangames.nativeextensions |
Class | public class GoViral |
Inheritance | GoViral ![]() |
Property | Defined By | ||
---|---|---|---|
goViral : GoViral [static] [read-only]
The current instance of the GoViral singelton. | GoViral |
Method | Defined By | ||
---|---|---|---|
GoViral(logCallback:Function = null)
Do not call this directly; use GoViral.create() to initialize or GoViral.goViral to get current instance. | GoViral | ||
authenticateWithFacebook(readPermissions:String = public_profile):void
Log the user into Facebook. | GoViral | ||
[static]
Initializes the GoViral Extension. | GoViral | ||
displaySocialComposerView(serviceType:String, message:String, image:BitmapData = null, url:String = null):GVShareDispatcher
Displays a window to the user to send a message, with the given service type. | GoViral | ||
dispose():void Dispose of Context | GoViral | ||
facebookGraphRequest(graphPath:String, httpMethod:String = GET, params:Object = null, publishPermissions:String = null, forceDeprecationUnsupported:Boolean = false):GVFacebookDispatcher
Post a raw request to the Facebook Graph API. | GoViral | ||
facebookPostPhoto(message:String, image:BitmapData, graphPath:String = me/photos, forceDeprecationUnsupported:Boolean = false):GVFacebookDispatcher
Posts a photo to Facebook. | GoViral | ||
getDeclinedFacebookPermissions():Vector.<String>
After a call to authenticate with Facebook, the user may have declined some or all of the permissions you requested. | GoViral | ||
getFbAccessExpiry():Number
Get the expiry time of the current Facebook Access token, in ms. | GoViral | ||
getFbAccessToken():String
Get the current Facebook access token. | GoViral | ||
initFacebook(appId:String, urlSchemeSuffix:String, forceDeprecationUnsupported:Boolean = false):void
Initialize the Facebook native interface. | GoViral | ||
isEmailAvailable():Boolean
Checks if the showEmailComposer() or showEmailComposerWithBitmap() methods are available on this device. | GoViral | ||
isFacebookAuthenticated():Boolean
Check if the user is logged in to Facebook Single Sign On for this app. | GoViral | ||
isFacebookGraphDialogAvailable():Boolean
Checks whether the native Facebook Open Graph Action Dialog is available. | GoViral | ||
isFacebookMessageDialogAvailable():Boolean
Checks whether the native Facebook Messenger Dialog is available. | GoViral | ||
isFacebookPermissionGranted(permission:String):Boolean
After a call to authenticate with Facebook, the user may have declined some or all of the permissions you requested. | GoViral | ||
isFacebookShareDialogAvailable():Boolean
Checks whether the native Facebook Share Dialog is available. | GoViral | ||
isFacebookSupported():Boolean
As of April 2013, Facebook is no longer supporting iOS devices running a version below 5.1. | GoViral | ||
isGenericShareAvailable():Boolean
Check if the current platform supports generic message sharing. | GoViral | ||
isSocialServiceAvailable(serviceType:String):Boolean
Checks if a given social service is available for use. | GoViral | ||
isSupported():Boolean [static]
Checks if the current platform supports GoViral. | GoViral | ||
isTweetSheetAvailable():Boolean
Determine whether iOS Native Twitter features are available, which requires the current device is running iOS 5 or greater; or, for Android supported versions of the extension, determine if a Twitter client is installed on the current device. | GoViral | ||
logFacebookAppEvent(appEvent:GVFacebookAppEvent):void
Log a Facebook AppEvent (used for analytics and Facebook ad campaign tracking)
| GoViral | ||
logoutFacebook():void Log the current user out of Facebook Single Sign On. | GoViral | ||
postFacebookAchievement(achievementURL:String):GVFacebookDispatcher
Post a Facebook Game Achievement. | GoViral | ||
postFacebookHighScore(score:Number):GVFacebookDispatcher
Post a high score to the Facebook Leaderboard for this game. | GoViral | ||
presentFacebookPageOrProfile(pageID:String):void
Displays the Facebook Page with the given ID. | GoViral | ||
publishInstall():void
DEPRECATED. | GoViral | ||
Forces the permissions stored in your Facebook session to updated from the server. | GoViral | ||
requestFacebookFriends(extraParams:Object = null):GVFacebookDispatcher
Convenience method to request the user's Facebook friends. | GoViral | ||
Request a Facebook Custom Audience App User Ad ID. | GoViral | ||
Convenience method to request the user's Facebook profile. | GoViral | ||
requestNewFacebookPublishPermissions(permissions:String):void
You should only use this after initial authentication. | GoViral | ||
requestNewFacebookReadPermissions(permissions:String):void
You should only use this after initial authentication. | GoViral | ||
shareGenericMessage(subject:String, message:String, isHtml:Boolean, popoverX:Number = 1024, popoverY:Number = 1024):GVShareDispatcher
Shares a generic message intent. | GoViral | ||
shareGenericMessageWithImage(subject:String, message:String, isHtml:Boolean, image:BitmapData, popoverX:Number = 1024, popoverY:Number = 1024):GVShareDispatcher
Shares a generic message intent, with an image attachment. | GoViral | ||
showEmailComposer(subject:String, toWhom:String, body:String, isBodyHtml:Boolean):GVMailDispatcher
Show a native iOS or Android Email Composer dialog. | GoViral | ||
showEmailComposerWithBitmap(subject:String, toWhom:String, body:String, isBodyHtml:Boolean, bitmapData:BitmapData, imageFileName:String = null):GVMailDispatcher
Show a native iOS or Android Email Composer dialog, with an attached image as BitmapData. | GoViral | ||
showEmailComposerWithByteArray(subject:String, toWhom:String, body:String, isBodyHtml:Boolean, byteArray:ByteArray, mimeType:String, fileName:String):GVMailDispatcher
Show a native iOS or Android Email Composer dialog, with an attached file as a ByteArray. | GoViral | ||
showFacebookFeedDialog(name:String, caption:String, message:String, description:String, linkUrl:String = null, imageUrl:String = null, extraParams:Object = null):GVFacebookDispatcher
Displays a native Facebook Wall Post / Feed Post Dialog. | GoViral | ||
showFacebookGraphDialog(actionType:String, objectType:String, title:String, description:String, url:String = null, image:BitmapData = null, extraObjectParams:Object = null):GVFacebookDispatcher
Displays a native Facebook Open Graph Action Dialog. | GoViral | ||
showFacebookMessageDialog(name:String, caption:String, description:String, linkUrl:String = null, imageUrl:String = null, extraParams:Object = null):GVFacebookDispatcher
Displays a native Facebook Messenger Dialog. | GoViral | ||
showFacebookRequestDialog(message:String, title:String = null, data:String = null, filters:String = null, to:String = null, excludeIds:String = null, frictionless:Boolean = false, actionType:String = null, objectID:String = null, suggestions:String = null):GVFacebookDispatcher
Show a native Facebook request dialog (e.g., invite friends.)
On dismissal, a GVFacebookEvent will be dispatched with the result, of the type GVFacebookEvent.FB_DIALOG_FINISHED if the Dialog finished, GVFacebookEvent.FB_DIALOG_CANCELED if the dialog was cancelled, or GVFacebookEvent.FB_DIALOG_FAILED if the dialog failed. | GoViral | ||
showFacebookShareDialog(name:String, caption:String, description:String, linkUrl:String = null, imageUrl:String = null, extraParams:Object = null):GVFacebookDispatcher
Displays a native Facebook Share Dialog. | GoViral | ||
showTweetSheet(message:String):GVTwitterDispatcher
Shows a native iOS Twitter post dialog using iOS 5's built-in Twitter feature, or for the Android version of the extension, a Tweet with a currently installed Twitter Client. | GoViral | ||
showTweetSheetWithImage(message:String, image:BitmapData):GVTwitterDispatcher
Shows a native iOS Twitter post dialog using iOS 5's built-in Twitter feature, with an attached image; or for Android versions of the extension, a Tweet using an installed Twitter client on the device. | GoViral | ||
stageFacebookImage(image:BitmapData):GVFacebookDispatcher
Uploads an image to the Facebook staging server. | GoViral |
Event | Summary | Defined By | ||
---|---|---|---|---|
Facebook Mobile App Ad ID Response | GoViral | |||
Dispatched when a Facebook Dialog is cancelled | GoViral | |||
Dispatched when a Facebook Dialog has failed | GoViral | |||
Dispatched When a Facebook Dialog has finished | GoViral | |||
Dispatched When the user has logged in with Facebook | GoViral | |||
Dispatched when the user has logged out with Facebook | GoViral | |||
Dispatched When the User cancelled Facebook Login | GoViral | |||
Dispatched When Facebook Login fails | GoViral | |||
Dispatched after a call to refresh Facebook session Permissions has failed | GoViral | |||
Dispatched after a successful call to refresh Facebook session Permissions | GoViral | |||
Dispatched after a call to request new Facebook Publish Permissions has failed | GoViral | |||
Dispatched after a successful call to request new Facebook Publish Permissions | GoViral | |||
Dispatched after a call to request new Facebook Read Permissions has failed | GoViral | |||
Dispatched after a successful call to request new Facebook Read Permissions | GoViral | |||
Dispatched when a Facebook Graph Request has failed | GoViral | |||
Dispatched when a Facebook Graph Request returns a response | GoViral | |||
Dispatched when the Facebook auth session is invalidated- for instance by the user revoking your permissions, or changing their password | GoViral | |||
Dispatched after a Generic message sharing intent has been completed | GoViral | |||
Dispatched when a mail dialog is cancelled | GoViral | |||
Dispatched when an email dialog fails | GoViral | |||
Dispatched when the user saves an email | GoViral | |||
Dispatched when the user sends an email | GoViral | |||
Dispatched when a social composer view is canceled | GoViral | |||
Dispatched when a social composer view is finished | GoViral | |||
Dispatched when a Twitter Dialog was cancelled | GoViral | |||
Dispatched when a Twitter Dialog has Failed | GoViral | |||
Dispatched when a Twitter Dialog is Finished | GoViral |
Constant | Defined By | ||
---|---|---|---|
VERSION : String = 4.6.0 [static]
Current API Version
| GoViral |
goViral | property |
goViral:GoViral
[read-only] The current instance of the GoViral singelton. You must call GoViral.create() before this property is available.
public static function get goViral():GoViral
Error — if GoViral.create() was not called before first accessing this property.
|
GoViral | () | Constructor |
public function GoViral(logCallback:Function = null)
Do not call this directly; use GoViral.create() to initialize or GoViral.goViral to get current instance.
ParameterslogCallback:Function (default = null )
|
authenticateWithFacebook | () | method |
public function authenticateWithFacebook(readPermissions:String = public_profile):void
Log the user into Facebook. The user must be authenticated with Facebook before calling any Facebook dialog or API methods. Upon calling authenticateWithFacebook(), the user will be presented with a dialog asking them to grant permissions to your app to use their account. If the official Facebook app is installed, and the device supports multitasking, the app will task switch to the Facebook app to authenticate the user, then return to your app on completion. If the official Facebook app is not installed, and the device supports multi-tasking, the app will task switch to the browser and present an authentication dialog there; on completion, your app will be returned to the foreground. If the device does not support multitasking, an authentication dialog will be presented inside your own app. A GVFaceBookEvent indicating the result will be dispatched when the login succeeds, fails, or is cancelled by the user- with the type of GVFacebookEvent.FB_LOGGED_IN, GVFacebookEvent.FB_LOGIN_FAILED, GVFacebookEvent.FB_LOGIN_CANCELED, respectively, and GVFacebookEvent.FB_LOGGED_OUT will be dispatched when and if the user logs out. You may check GoViral.goViral.isFacebookAuthenticated() first to determine if the user is already logged in.
Parameters
readPermissions:String (default = public_profile ) — A comma-separated list of READ permission options for the app. Note that you should include only read permissions, not publish permissions. Publish permissions must be requested later, either through a call to facebookGraphRequest(), or manually with requestNewFacebookPublishPermissions(). You should include at least one read permission, such as 'public_profile', if the user has never authenticated with your app before.
|
See also
create | () | method |
public static function create():GoViral
Initializes the GoViral Extension. You should check GoViral.isSupported first to ensure the platform is supported. GoViral is a Singleton and you may have only one instance. After creation, you may access the instance through the static property GoViral.goViral .
ReturnsGoViral — initialized instance of GoViral extension interface.
|
Error — if GoViral has already been initialized.
|
displaySocialComposerView | () | method |
public function displaySocialComposerView(serviceType:String, message:String, image:BitmapData = null, url:String = null):GVShareDispatcher
Displays a window to the user to send a message, with the given service type. You should always check isSocialServiceAvailable(serviceType) first, to ensure that the service is available. This feature is available on iOS 6+, and some Android devices only. For similar functionality that is available on Android and lower iOS versions, use the direct Twitter, Facebook, Mail, or Generic Share functions of GoViral. When the modal is completed, GVShareEvent.SOCIAL_COMPOSER_FINISHED or GVShareEvent.SOCIAL_COMPOSER_CANCELED will be dispatched, depending on the action of the user. On Android, GVShareEvent.SOCIAL_COMPOSER_FINISHED is always dispatched in response.
Parameters
serviceType:String — the service for which to display the composer - one of GVSocialServiceType.FACEBOOK, GVSocialServiceType.TWITTER, GVSocialsServiceType.SMS, or GVSocialServiceType.SINAWEIBO.
| |
message:String — the message to display in this post
| |
image:BitmapData (default = null ) — optionally, a bitmapData image to display in the post
| |
url:String (default = null ) — optionally, an url to attach to the post
|
GVShareDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
dispose | () | method |
public function dispose():void
Dispose of Context
facebookGraphRequest | () | method |
public function facebookGraphRequest(graphPath:String, httpMethod:String = GET, params:Object = null, publishPermissions:String = null, forceDeprecationUnsupported:Boolean = false):GVFacebookDispatcher
Post a raw request to the Facebook Graph API. Results are returned as JSON. This gives you native access to the entire Facebook platform. Refer to the Facebook developer documentation for details on the many accessible API methods. Facebook now requires that any 'PUBLISH' permissions are requested separately from initial sign on. If the graph request requires any PUBLISH permissions, include them in the publishPermissions parameter. If the user has not yet accepted the permissions, they will be prompted to do so before the request is processed. After the request, a GVFacebookEvent will be dispatched with the result- GVFacebookEvent.FB_REQUEST_RESPONSE will be dispatched if the request succeeds, and the string value of its property 'jsonData' will contain the raw JSON response. The property 'data' will contain an Object of the parsed JSON for convenience. If the request fails, a GVFacebookEvent.FB_REQUEST_FAILED event will be dispatched.
Parameters
graphPath:String — The graph path command you wish to execute, such as "me/friends" to get user's friends. See the Facebook developer documentation for more details.
| |
httpMethod:String (default = GET ) — Optional. Default value is GVHttpMethod.GET. The httpMethod to use for the request, either GVHttpMethod.GET, GVHttpMethod.POST, or GVHttpMethod.DELETE. Refer to the Facebook developer documentation for details on the appropriate method.
| |
params:Object (default = null ) — Optional. An Object with string keys and values, for each additional parameter you want to send with the Graph request. See the Facebook developer documentation for more details.
| |
publishPermissions:String (default = null ) — Optional. A comma-separated list of any PUBLISH permissions required for the request.
| |
forceDeprecationUnsupported:Boolean (default = false )
|
GVFacebookDispatcher — dispatcher that can dispatch inline listeners for this request
|
ArgumentError — if httpMethod is not one GVHttpMethod.GET, GVHttpMethod.POST, or GVHttpMethod.DELETE
|
See also
facebookPostPhoto | () | method |
public function facebookPostPhoto(message:String, image:BitmapData, graphPath:String = me/photos, forceDeprecationUnsupported:Boolean = false):GVFacebookDispatcher
Posts a photo to Facebook. If the user has not yet accepted a photo upload-enabling permission, they will prompted to do so before the request is processed. This method wraps around facebookGraphRequest- a GVFacebookEvent.FB_REQUEST_RESPONSE or GVFacebookEvent.FB_REQUEST_FAILED event will be dispatched upon it's completion.
Parameters
message:String — The message to include with this photo posting.
| |
image:BitmapData — BitmapData image to post as a photo.
| |
graphPath:String (default = me/photos ) — Optional. The Graph Path to post to - defaults to me/photos
| |
forceDeprecationUnsupported:Boolean (default = false )
|
GVFacebookDispatcher — dispatcher that can dispatch inline listeners for this request
|
getDeclinedFacebookPermissions | () | method |
public function getDeclinedFacebookPermissions():Vector.<String>
After a call to authenticate with Facebook, the user may have declined some or all of the permissions you requested. Use this method to identify which permissions, if any, were denied.
ReturnsVector.<String> — a Vector Array of permissions the user declined for this session
|
getFbAccessExpiry | () | method |
public function getFbAccessExpiry():Number
Get the expiry time of the current Facebook Access token, in ms.
ReturnsNumber — the expiry time of the current Facebook Access token, in ms.
|
getFbAccessToken | () | method |
public function getFbAccessToken():String
Get the current Facebook access token.
ReturnsString — the access token for the current user, if logged in and available.
|
initFacebook | () | method |
public function initFacebook(appId:String, urlSchemeSuffix:String, forceDeprecationUnsupported:Boolean = false):void
Initialize the Facebook native interface. You must call this before any other Facebook functions will be active. You should execute this function as early on in your program as possible, even if you don't need to call the Facebook methods until a later time. As of April 2013, Facebook does not support iOS devices running a version below 5.1. You should check GoViral.goViral.isFacebookSupported() before initializing to ensure all Facebook functions will run on the target device.
Parameters
appId:String — The Facebook App ID- created in the Facebook developer site
| |
urlSchemeSuffix:String — Optional. url scheme suffixes can be defined in the Facebook developer site, and used to share Single Sign On across multiple SKUs of one app (for instance, free and paid versions.) See Facebook's developer documentation for more information.
| |
forceDeprecationUnsupported:Boolean (default = false )
|
See also
isEmailAvailable | () | method |
public function isEmailAvailable():Boolean
Checks if the showEmailComposer() or showEmailComposerWithBitmap() methods are available on this device.
ReturnsBoolean — true if mail is available
|
isFacebookAuthenticated | () | method |
public function isFacebookAuthenticated():Boolean
Check if the user is logged in to Facebook Single Sign On for this app.
ReturnsBoolean — true if the current user for this app is authenticated with Facebook.
|
isFacebookGraphDialogAvailable | () | method |
public function isFacebookGraphDialogAvailable():Boolean
Checks whether the native Facebook Open Graph Action Dialog is available. Availability is dependent on the user having a current version of the Facebook application installed on their device.
ReturnsBoolean — true if the native Facebook Open Graph Action Dialog is available
|
isFacebookMessageDialogAvailable | () | method |
public function isFacebookMessageDialogAvailable():Boolean
Checks whether the native Facebook Messenger Dialog is available. Availability is dependent on the user having a current version of the Facebook Messenger application installed on their device.
ReturnsBoolean — true if the native Facebook Messenger Dialog is available
|
isFacebookPermissionGranted | () | method |
public function isFacebookPermissionGranted(permission:String):Boolean
After a call to authenticate with Facebook, the user may have declined some or all of the permissions you requested. Use this method to identify if a particular permission was granted.
Parameters
permission:String — the permission to check
|
Boolean — true if the given permission was granted
|
isFacebookShareDialogAvailable | () | method |
public function isFacebookShareDialogAvailable():Boolean
Checks whether the native Facebook Share Dialog is available. Availability is dependent on the user having a current version of the Facebook application installed on their device.
ReturnsBoolean — true if the native Facebook Share Dialog is available
|
isFacebookSupported | () | method |
public function isFacebookSupported():Boolean
As of April 2013, Facebook is no longer supporting iOS devices running a version below 5.1. You can use this method to determine if the current device will support all Facebook functionality.
ReturnsBoolean — true if Facebook is fully supported on the device
|
isGenericShareAvailable | () | method |
public function isGenericShareAvailable():Boolean
Check if the current platform supports generic message sharing. You should check this before calling shareGenericMessage() or shareGenericMessageWithImage(). On Android, this returns true, and generic share functions will query the installed apps on the Android device for any that will accept the request. On iOS 6, generic share functions will use the built-in sharing features of the iOS (mail, SMS, Facebook, Twitter, etc.) On iOS 5 or earlier, these functions are not available and isGenericShareAvailable() returns false.
ReturnsBoolean — true if generic messages can be shared
|
isSocialServiceAvailable | () | method |
public function isSocialServiceAvailable(serviceType:String):Boolean
Checks if a given social service is available for use. Check this before calling displaySocialComposerView().
Parameters
serviceType:String — the service to check - one of GVSocialServiceType.FACEBOOK, GVSocialServiceType.TWITTER, GVSocialServiceType.SMS, or GVSocialServiceType.SINAWEIBO
|
Boolean — true if the service is available; false if otherwise.
|
See also
isSupported | () | method |
public static function isSupported():Boolean
Checks if the current platform supports GoViral. Note that this only determines whether the app is running under an environment supported by the extension (iOS for the iOS version, Android for the Android version, or either one for the extension that supports both.) Use this call before initializing GoViral in order to confirm that you are on a supported device. (So that you can avoid initializing GoViral on an unsupported platform, such as Windows, when building a multi-platform app.)
ReturnsBoolean — true if GoViral is supported; false otherwise.
|
isTweetSheetAvailable | () | method |
public function isTweetSheetAvailable():Boolean
Determine whether iOS Native Twitter features are available, which requires the current device is running iOS 5 or greater; or, for Android supported versions of the extension, determine if a Twitter client is installed on the current device. If it returns false, the device can send Twitter messages with status messages, but may not be able to attach an image.
ReturnsBoolean — true if iOS 5 Native Twitter features are available (such as GoViral.goViral.showTweetSheet() or GoViral.goViral.showTweetSheetWithImage()); or for Android supported versions of the extension, true if a Twitter client is installed on the device.
|
logFacebookAppEvent | () | method |
public function logFacebookAppEvent(appEvent:GVFacebookAppEvent):void
Log a Facebook AppEvent (used for analytics and Facebook ad campaign tracking)
Parameters
appEvent:GVFacebookAppEvent — the event to track
|
See also
logoutFacebook | () | method |
public function logoutFacebook():void
Log the current user out of Facebook Single Sign On.
postFacebookAchievement | () | method |
public function postFacebookAchievement(achievementURL:String):GVFacebookDispatcher
Post a Facebook Game Achievement. You must be authenticated with Facebook first, and your app must be defined as a game on developer.facebook.com. The achievement definition xml needs to be posted to a publish website first as per Facebook's specifications. See the Facebook documentation for additional information. If this is the first time posting a score or achievement and the user has not yet granted publish permissions, the extension will automatically request the permissions from the user. When the operation completes successfully, GVFacebookEvent.FB_REQUEST_RESPONSE will be dispatched, with a graphPath of 'me/achievements'. If it fails, GVFacebookEvent.FB_REQUEST_FAILED will be dispatched instead.
Parameters
achievementURL:String — the score to post to the Facebook leaderboard
|
GVFacebookDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
postFacebookHighScore | () | method |
public function postFacebookHighScore(score:Number):GVFacebookDispatcher
Post a high score to the Facebook Leaderboard for this game. You must be authenticated with Facebook first, and your app must be defined as a game on developer.facebook.com. Facebook will automatically handle updating the feed with the high score story, including showing whether a friend has been bested, etc. If this is the first time posting a score and the user has not yet granted publish permissions, the extension will automatically request the permissions from the user. When the operation completes successfully, GVFacebookEvent.FB_REQUEST_RESPONSE will be dispatched, with a graphPath of 'me/scores'. If it fails, GVFacebookEvent.FB_REQUEST_FAILED will be dispatched instead.
Parameters
score:Number — the score to post to the Facebook leaderboard
|
GVFacebookDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
presentFacebookPageOrProfile | () | method |
public function presentFacebookPageOrProfile(pageID:String):void
Displays the Facebook Page with the given ID. This is the an effective method to call for a 'Like us on Facebook' button, as it will present the relevant page and the user can complete the action by pressing Like. If the Facebook Application is installed, the page will be shown in the Facebook viewer. If it's not, the extension will fallback to using the browser. To find the Page ID, visit your Facebook Page in the browser; the ID is the long number typically at the end of the URL.
Parameters
pageID:String — the numeric page or profile ID for which to present this view
|
publishInstall | () | method |
public function publishInstall():void
DEPRECATED. Mobile ad install publishing is now handled automatically by the extension. Publish a mobile install (for facebook mobile ads.)
refreshFacebookSessionPermissions | () | method |
public function refreshFacebookSessionPermissions():void
Forces the permissions stored in your Facebook session to updated from the server. If the request is successful, GVFacebookEvent.FB_PERMISSIONS_REFRESHED will be dispatched; otherwise, a GVFacebookEvent.FB_PERMISSIONS_REFRESH_FAILED will be dispatched instead.
See also
requestFacebookFriends | () | method |
public function requestFacebookFriends(extraParams:Object = null):GVFacebookDispatcher
Convenience method to request the user's Facebook friends. After the request, a GVFacebookEvent will be dispatched. If the request is successful, GVFacebookEvent.FB_REQUEST_RESPONSE event will be dispatched, and its 'friends' property will contain a vector array of GVFacebookFriend objects. If the call fails, GVFacebookEvent.FB_REQUEST_FAILED will be dispatched. NOTE: Facebook's policy has changed such that any app published after April 30, 2014, will only be allowed to see the IDs of friends who have already installed the app when using this method. Facebook suggests replacing functionality that previously relied on this requeset with the taggable_friends API, which requires Facebook's approval before use. For more information see https://developers.facebook.com/docs/graph-api/reference/v2.0/user/taggable_friends .
Parameters
extraParams:Object (default = null ) — Optional. Any extra parameters to append to the friend request. For instance, if you pass {fields:"installed"} the returned GVFacebookFriend objects will have an indicator of whether the friend has your app installed in its 'properties' field.
|
GVFacebookDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
requestFacebookMobileAdID | () | method |
public function requestFacebookMobileAdID():GVFacebookDispatcher
Request a Facebook Custom Audience App User Ad ID. Used for tracking audiences with Facebook ads. See Facebook's documentation for additional information. If the request completes successfully, GVFacebookEvent.FB_AD_ID_RESPONSE will be dispatched, and its facebookMobileAdId property will contain the ad id if it was successfully retrieved, or null if it was not.
ReturnsGVFacebookDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
requestMyFacebookProfile | () | method |
public function requestMyFacebookProfile():GVFacebookDispatcher
Convenience method to request the user's Facebook profile. After the request, a GVFacebookEvent will be dispatched. If the request is successful, GVFacebookEvent.FB_REQUEST_RESPONSE event will be dispatched, and its 'friends' property will contain a vector array with one GVFacebookFriend object for the logged in user. If the call fails, GVFacebookEvent.FB_REQUEST_FAILED will be dispatched.
ReturnsGVFacebookDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
requestNewFacebookPublishPermissions | () | method |
public function requestNewFacebookPublishPermissions(permissions:String):void
You should only use this after initial authentication. Makes a request reauthorize the current user with new Facebook Publish permissions. This should only be necessary if you need to acquire new publish permissions on the client, and pass the updated token to your own server for further use. Otherwise, pass the appropriate permissions requirements to your client calls to facebookGraphRequest, and the update will be handled automatically. If the request is successful, GVFacebookEvent.FB_PUBLISH_PERMISSIONS_UPDATED will be dispatched; otherwise, a GVFacebookEvent.FB_PUBLISH_PERMISSIONS_FAILED will be dispatched instead.
Parameters
permissions:String — comma-separated list of new permissions to request.
|
Error — if the permissions requested are empty, null, invalid, or a current session is not already in progress
|
See also
requestNewFacebookReadPermissions | () | method |
public function requestNewFacebookReadPermissions(permissions:String):void
You should only use this after initial authentication. Makes a request reauthorize the current user with new Facebook Read permissions. If the request is successful, GVFacebookEvent.FB_READ_PERMISSIONS_UPDATED will be dispatched; otherwise, a GVFacebookEvent.FB_READ_PERMISSIONS_FAILED will be dispatched instead.
Parameters
permissions:String — comma-separated list of new permissions to request.
|
Error — if the permissions requested are empty, null, invalid, or a current session is not already in progress
|
See also
shareGenericMessage | () | method |
public function shareGenericMessage(subject:String, message:String, isHtml:Boolean, popoverX:Number = 1024, popoverY:Number = 1024):GVShareDispatcher
Shares a generic message intent. You should check isGenericShareAvailable() first before calling shareGenericMessage(). On Android, the user will be presented with a dialog form which to choose an installed application that can accept the message, using Android's Intent scheme feature. On iOS 6, the user will be presented with the built-in sharing options dialog (sms, mail, Facebook, Twitter, etc.) On iOS 5 and earlier, this function is not available. After the share intent is completed, GVShareEvent.GENERIC_MESSAGE_SHARED will be dispatched.
Parameters
subject:String — the subject of the message. Not all targets will support a subject.
| |
message:String — the string message to share
| |
isHtml:Boolean — set to true if the message is formatted as html.
| |
popoverX:Number (default = 1024 ) — Optional. On iOS 6 iPads, this is the X position from which to display the activity picker popup view; measured in device points- so a value of 200 would mean pixel position 400 on a retina display, and 200 on a non-retina display.
| |
popoverY:Number (default = 1024 ) — Optional. On iOS 6 iPads, this is the Y position from which to display the activity picker popup view; measured in device points- so a value of 200 would mean pixel position 400 on a retina display, and 200 on a non-retina display.
|
GVShareDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
shareGenericMessageWithImage | () | method |
public function shareGenericMessageWithImage(subject:String, message:String, isHtml:Boolean, image:BitmapData, popoverX:Number = 1024, popoverY:Number = 1024):GVShareDispatcher
Shares a generic message intent, with an image attachment. You should check isGenericShareAvailable() first before calling shareGenericMessage(). On Android, the user will be presented with a dialog form which to choose an installed application that can accept the message, using Android's Intent scheme feature. On iOS 6, the user will be presented with the built-in sharing options dialog (sms, mail, Facebook, Twitter, etc.) On iOS 5 and earlier, this function is not available. After the share intent is completed, GVShareEvent.GENERIC_MESSAGE_SHARED will be dispatched.
Parameters
subject:String — the subject of the message. Not all targets will support a subject.
| |
message:String — the string message to share
| |
isHtml:Boolean — set to true if the message is formatted as html.
| |
image:BitmapData — a bitmapData object containing an image to attach to the share intent. Not all targets will support images.
| |
popoverX:Number (default = 1024 ) — Optional. On iOS 6 iPads, this is the X position from which to display the activity picker popup view; measured in device points- so a value of 200 would mean pixel position 400 on a retina display, and 200 on a non-retina display.
| |
popoverY:Number (default = 1024 ) — Optional. On iOS 6 iPads, this is the Y position from which to display the activity picker popup view; measured in device points- so a value of 200 would mean pixel position 400 on a retina display, and 200 on a non-retina display.
|
GVShareDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
showEmailComposer | () | method |
public function showEmailComposer(subject:String, toWhom:String, body:String, isBodyHtml:Boolean):GVMailDispatcher
Show a native iOS or Android Email Composer dialog. On dismissal, a GVMailEvent will be dispatched indicating the result, with a type of GVMailEvent.MAIL_SAVED if the user saved but did not send the message, GVMailEvent.MAIL_SENT if the user sent the message, GVMailEvent.MAIL_CANCELED if the user cancelled the dialog, or GVMailEvent.MAIL_FAILED if an error occurred sending. Due to the design of inter process messaging on Android, a GVMailEvent.MAIL_SENT event may be sent on Android, even if the message was dismissed or canceled.
Parameters
subject:String — subject line of the email
| |
toWhom:String — 'to' line of the email. Comma separated list is accepted.
| |
body:String — the body of the email
| |
isBodyHtml:Boolean — set to 'true' if you wish for the email to be html formatted.
|
GVMailDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
showEmailComposerWithBitmap | () | method |
public function showEmailComposerWithBitmap(subject:String, toWhom:String, body:String, isBodyHtml:Boolean, bitmapData:BitmapData, imageFileName:String = null):GVMailDispatcher
Show a native iOS or Android Email Composer dialog, with an attached image as BitmapData. On dismissal, a GVMailEvent will be dispatched indicating the result, with a type of GVMailEvent.MAIL_SAVED if the user saved but did not send the message, GVMailEvent.MAIL_SENT if the user sent the message, GVMailEvent.MAIL_CANCELED if the user cancelled the dialog, or GVMailEvent.MAIL_FAILED if an error occurred sending. Due to the design of inter process messaging on Android, a GVMailEvent.MAIL_SENT event may be sent on Android, even if the message was dismissed or canceled.
Parameters
subject:String — subject line of the email
| |
toWhom:String — 'to' line of the email. Comma separated list is accepted.
| |
body:String — the body of the email
| |
isBodyHtml:Boolean — set to 'true' if you wish for the email to be html formatted.
| |
bitmapData:BitmapData — the bitmapData of the image to attach to the email.
| |
imageFileName:String (default = null )
|
GVMailDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
showEmailComposerWithByteArray | () | method |
public function showEmailComposerWithByteArray(subject:String, toWhom:String, body:String, isBodyHtml:Boolean, byteArray:ByteArray, mimeType:String, fileName:String):GVMailDispatcher
Show a native iOS or Android Email Composer dialog, with an attached file as a ByteArray. On dismissal, a GVMailEvent will be dispatched indicating the result, with a type of GVMailEvent.MAIL_SAVED if the user saved but did not send the message, GVMailEvent.MAIL_SENT if the user sent the message, GVMailEvent.MAIL_CANCELED if the user cancelled the dialog, or GVMailEvent.MAIL_FAILED if an error occurred sending. Due to the design of inter process messaging on Android, a GVMailEvent.MAIL_SENT event may be sent on Android, even if the message was dismissed or canceled.
Parameters
subject:String — subject line of the email
| |
toWhom:String — 'to' line of the email. Comma separated list is accepted.
| |
body:String — the body of the email
| |
isBodyHtml:Boolean — set to 'true' if you wish for the email to be html formatted.
| |
byteArray:ByteArray — the ByteArray of the data to attach to the email.
| |
mimeType:String — the MimeType for the attachment.
| |
fileName:String — the fileName, with extension, for the attachment
|
GVMailDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
showFacebookFeedDialog | () | method |
public function showFacebookFeedDialog(name:String, caption:String, message:String, description:String, linkUrl:String = null, imageUrl:String = null, extraParams:Object = null):GVFacebookDispatcher
Displays a native Facebook Wall Post / Feed Post Dialog. On dismissal, a GVFacebookEvent will be dispatched with the result, of the type GVFacebookEvent.FB_DIALOG_FINISHED if the Dialog finished, GVFacebookEvent.FB_DIALOG_CANCELED if the dialog was cancelled, or GVFacebookEvent.FB_DIALOG_FAILED if the dialog failed.
Parameters
name:String — the name of the post
| |
caption:String — caption for the post
| |
message:String — the message body of the post
| |
description:String — description of the post
| |
linkUrl:String (default = null ) — Optional. Link URL for post to point at
| |
imageUrl:String (default = null ) — Optional. Image URL for post to display
| |
extraParams:Object (default = null ) — Optional. Key/value pairs of any additional parameters to pass up to Facebook.
|
GVFacebookDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
showFacebookGraphDialog | () | method |
public function showFacebookGraphDialog(actionType:String, objectType:String, title:String, description:String, url:String = null, image:BitmapData = null, extraObjectParams:Object = null):GVFacebookDispatcher
Displays a native Facebook Open Graph Action Dialog.
Availability of this feature depends on the version of the Facebook application the user has installed on their device. You can check isFacebookGraphDialogAvailable()
to see if the native Open Graph Action dialog can be displayed. If you call showFacebookGraphDialog()
and the user's device does not support it, nothing will be displayed.
On dismissal, a GVFacebookEvent will be dispatched with the result, of the type GVFacebookEvent.FB_DIALOG_FINISHED if the Dialog finished, GVFacebookEvent.FB_DIALOG_CANCELED if the dialog was cancelled, or GVFacebookEvent.FB_DIALOG_FAILED if the dialog failed.
Parameters
actionType:String — the Open Graph Action Type
| |
objectType:String — the Open Graph Object Type
| |
title:String — the Title of the Open Graph Object
| |
description:String — the Description of the Open Graph Object
| |
url:String (default = null ) — the URL associated with the Open Graph Object
| |
image:BitmapData (default = null ) — Optional. BitmapData image to attach to the post
| |
extraObjectParams:Object (default = null ) — Optional. Additional key value string pairs to apply to the Open Graph Object
|
GVFacebookDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
showFacebookMessageDialog | () | method |
public function showFacebookMessageDialog(name:String, caption:String, description:String, linkUrl:String = null, imageUrl:String = null, extraParams:Object = null):GVFacebookDispatcher
Displays a native Facebook Messenger Dialog.
Availability of this feature depends on the user having Facebook Messenger installed on the device. You can check isFacebookMessageDialogAvailable()
to see if the native messenger dialog can be displayed.
On dismissal, a GVFacebookEvent will be dispatched with the result, of the type GVFacebookEvent.FB_DIALOG_FINISHED if the Dialog finished, GVFacebookEvent.FB_DIALOG_CANCELED if the dialog was cancelled, or GVFacebookEvent.FB_DIALOG_FAILED if the dialog failed.
Parameters
name:String — Sets the title of the item to be shared.
| |
caption:String — Sets the subtitle of the item to be shared.
| |
description:String — Sets the description of the item to be shared.
| |
linkUrl:String (default = null ) — Optional. Sets the URL of the item to be shared.
| |
imageUrl:String (default = null ) — Optional. Sets the URL of the image of the item to be shared.
| |
extraParams:Object (default = null ) — Optional. Extra parameters to apply the dialog, as String key value pairs.
|
GVFacebookDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
showFacebookRequestDialog | () | method |
public function showFacebookRequestDialog(message:String, title:String = null, data:String = null, filters:String = null, to:String = null, excludeIds:String = null, frictionless:Boolean = false, actionType:String = null, objectID:String = null, suggestions:String = null):GVFacebookDispatcher
Show a native Facebook request dialog (e.g., invite friends.) On dismissal, a GVFacebookEvent will be dispatched with the result, of the type GVFacebookEvent.FB_DIALOG_FINISHED if the Dialog finished, GVFacebookEvent.FB_DIALOG_CANCELED if the dialog was cancelled, or GVFacebookEvent.FB_DIALOG_FAILED if the dialog failed.
Parameters
message:String — The message to include with the request. Max length of 255 characters- this will be truncated if it's more than that.
| |
title:String (default = null ) — Optional. Title to show on the request. Max length of 50 characters- this will be truncated if it's more than that.
| |
data:String (default = null ) — Optional. Extra data string for the request. Max length of 255 characters- this will be truncated if it's more than that.
| |
filters:String (default = null ) — Optional. DEPRECATED. Facebook may ignore this parameter on mobile SDKs. As an alternative, load the user's friends with a facebookGraphRequest, and post the necessary IDs to the excludeIds or to parameters. Allows filtering of recipients to GVFacebookRequestFilter.APP_USERS, or GVFacebookRequestFilter.APP_NON_USERS.
| |
to:String (default = null ) — Optional. A String facebook ID for the request to go to, or a comma delimited list of such IDs. If this is not set, a standard friend selector will appear.
| |
excludeIds:String (default = null ) — Optional. A comma delimited list of Facebook User IDs to exclude from the dialog picker.
| |
frictionless:Boolean (default = false ) — Optional. Set to 'true' to make this a frictionless request. See Facebook developer documentation for more information.
| |
actionType:String (default = null ) — Optional. Used when defining additional context about the nature of the request. One of GVFacebookRequestActionType.ASK_FOR, GVFacebookRequestActionType.SEND, or GVFacebookRequestActionType.TURN.
| |
objectID:String (default = null ) — Optional. The Open Graph Object ID of the object being send via the actionType parameter.
| |
suggestions:String (default = null ) — Optional. A comma delimited list of user IDs that will be included in the dialog as the first suggested friends. Note: This parameter is can not be used together with filters. Using the two in the same dialog will result with an error.
|
GVFacebookDispatcher — dispatcher that can dispatch inline listeners for this request
|
ArgumentError if — filters is not one of GVFacebookRequestFilter.APP_USERS, or GVFacebookRequestFilter.APP_NON_USERS.
| |
ArgumentError if — actionType is not one of GVFacebookRequestActionType.ASK_FOR, GVFacebookRequestActionType.SEND, or GVFacebookRequestActionType.TURN
|
See also
showFacebookShareDialog | () | method |
public function showFacebookShareDialog(name:String, caption:String, description:String, linkUrl:String = null, imageUrl:String = null, extraParams:Object = null):GVFacebookDispatcher
Displays a native Facebook Share Dialog.
The Native Share Dialog is preferable to the Feed Dialog for a number of reasons: it's a native UI in the Facebook app, it can be used even if the user has not logged in and authenticated your application, and it supports additional parameters.
Availability of this feature depends on the version of the Facebook application the user has installed on their device. You can check isFacebookShareDialogAvailable()
to see if the native share dialog can be displayed. If you call showFacebookShareDialog()
and the user's device does not support it, the extension will fallback to the classic Feed Dialog, omitting any unsupported features requested.
On dismissal, a GVFacebookEvent will be dispatched with the result, of the type GVFacebookEvent.FB_DIALOG_FINISHED if the Dialog finished, GVFacebookEvent.FB_DIALOG_CANCELED if the dialog was cancelled, or GVFacebookEvent.FB_DIALOG_FAILED if the dialog failed.
Parameters
name:String — Sets the title of the item to be shared.
| |
caption:String — Sets the subtitle of the item to be shared.
| |
description:String — Sets the description of the item to be shared.
| |
linkUrl:String (default = null ) — Optional. Sets the URL of the item to be shared.
| |
imageUrl:String (default = null ) — Optional. Sets the URL of the image of the item to be shared.
| |
extraParams:Object (default = null ) — Optional. Extra parameters to apply the dialog, as String key value pairs. Supported parameter key are ref, place, or friends.
|
GVFacebookDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
showTweetSheet | () | method |
public function showTweetSheet(message:String):GVTwitterDispatcher
Shows a native iOS Twitter post dialog using iOS 5's built-in Twitter feature, or for the Android version of the extension, a Tweet with a currently installed Twitter Client. This method is available for devices running iOS 5.0 or greater, or for the Android version of the extension, devices with a Twitter client installed. You may use isTweetSheetAvailable() to determine availability on the current device. After the dialog is dismissed, a GVTwitterEvent.TW_DIALOG_FINISHED, GVTwitterEvent.TW_DIALOG_CANCELED, or GVTwitterEvent.TW_DIALOG_CANCELED event will be dispatched. Due to the design of interprocess messaging on Android, GVTwitterEvent.TW_DIALOG_FINISHED may be dispatched even if the Tweet is canceled by the user with the Android version of the extension.
Parameters
message:String — the message to prepulate into the twitter post dialog. The user will be able to change this if they wish.
|
GVTwitterDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
showTweetSheetWithImage | () | method |
public function showTweetSheetWithImage(message:String, image:BitmapData):GVTwitterDispatcher
Shows a native iOS Twitter post dialog using iOS 5's built-in Twitter feature, with an attached image; or for Android versions of the extension, a Tweet using an installed Twitter client on the device. This method is available for devices running iOS 5.0 or greater, or for Android versions of the extension, devices which have a Twitter client installed. You may use isTweetSheetAvailable() to determine availability on the current device. After the dialog is dismissed, a GVTwitterEvent.TW_DIALOG_FINISHED, GVTwitterEvent.TW_DIALOG_CANCELED, or GVTwitterEvent.TW_DIALOG_CANCELED event will be dispatched. Due to the design of interprocess messaging on Android, GVTwitterEvent.TW_DIALOG_FINISHED may be dispatched even if the Tweet is canceled by the user with the Android version of the extension. For Android supported versions of the extension, note that some Twitter clients on Android from some manufacturers are not capable of sending an image attachment and a status message in the same Tweet from a third party application. In these cases, the tweet may be displayed with an image but a defualt message.
Parameters
message:String — BitmapData image to attach to the Tweet.
| |
image:BitmapData — the message to prepulate into the twitter post dialog. The user will be able to change this if they wish.
|
GVTwitterDispatcher — dispatcher that can dispatch inline listeners for this request
|
See also
stageFacebookImage | () | method |
public function stageFacebookImage(image:BitmapData):GVFacebookDispatcher
Uploads an image to the Facebook staging server.
Parameters
image:BitmapData — the bitmapData object to upload
|
GVFacebookDispatcher — dispatcher that can dispatch inline listeners for this request
|
FB_AD_ID_RESPONSE | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Facebook Mobile App Ad ID Response
FB_DIALOG_CANCELED | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched when a Facebook Dialog is cancelled
FB_DIALOG_FAILED | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched when a Facebook Dialog has failed
FB_DIALOG_FINISHED | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched When a Facebook Dialog has finished
FB_LOGGED_IN | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched When the user has logged in with Facebook
FB_LOGGED_OUT | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched when the user has logged out with Facebook
FB_LOGIN_CANCELED | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched When the User cancelled Facebook Login
FB_LOGIN_FAILED | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched When Facebook Login fails
FB_PERMISSIONS_REFRESH_FAILED | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched after a call to refresh Facebook session Permissions has failed
FB_PERMISSIONS_REFRESHED | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched after a successful call to refresh Facebook session Permissions
FB_PUBLISH_PERMISSIONS_FAILED | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched after a call to request new Facebook Publish Permissions has failed
FB_PUBLISH_PERMISSIONS_UPDATED | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched after a successful call to request new Facebook Publish Permissions
FB_READ_PERMISSIONS_FAILED | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched after a call to request new Facebook Read Permissions has failed
FB_READ_PERMISSIONS_UPDATED | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched after a successful call to request new Facebook Read Permissions
FB_REQUEST_FAILED | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched when a Facebook Graph Request has failed
FB_REQUEST_RESPONSE | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched when a Facebook Graph Request returns a response
FB_SESSION_INVALIDATED | Event |
com.milkmangames.nativeextensions.events.GVFacebookEvent
Dispatched when the Facebook auth session is invalidated- for instance by the user revoking your permissions, or changing their password
GENERIC_MESSAGE_SHARED | Event |
com.milkmangames.nativeextensions.events.GVShareEvent
Dispatched after a Generic message sharing intent has been completed
MAIL_CANCELED | Event |
com.milkmangames.nativeextensions.events.GVMailEvent
Dispatched when a mail dialog is cancelled
MAIL_FAILED | Event |
com.milkmangames.nativeextensions.events.GVMailEvent
Dispatched when an email dialog fails
MAIL_SAVED | Event |
com.milkmangames.nativeextensions.events.GVMailEvent
Dispatched when the user saves an email
MAIL_SENT | Event |
com.milkmangames.nativeextensions.events.GVMailEvent
Dispatched when the user sends an email
SOCIAL_COMPOSER_CANCELED | Event |
com.milkmangames.nativeextensions.events.GVShareEvent
Dispatched when a social composer view is canceled
SOCIAL_COMPOSER_FINISHED | Event |
com.milkmangames.nativeextensions.events.GVShareEvent
Dispatched when a social composer view is finished
TW_DIALOG_CANCELED | Event |
com.milkmangames.nativeextensions.events.GVTwitterEvent
Dispatched when a Twitter Dialog was cancelled
TW_DIALOG_FAILED | Event |
com.milkmangames.nativeextensions.events.GVTwitterEvent
Dispatched when a Twitter Dialog has Failed
TW_DIALOG_FINISHED | Event |
com.milkmangames.nativeextensions.events.GVTwitterEvent
Dispatched when a Twitter Dialog is Finished
VERSION | Constant |
public static const VERSION:String = 4.6.0
Current API Version