Packagecom.marpies.ane.facebook.listeners
Interfacepublic interface IAIRFacebookShareListener

Interface for objects that want to be notified about a sharing process result.



Public Methods
 MethodDefined By
  
Called if the sharing dialog is cancelled.
IAIRFacebookShareListener
  
onFacebookShareError(errorMessage:String):void
Called if an error occurs during the sharing process.
IAIRFacebookShareListener
  
onFacebookShareSuccess(postID:String):void
Called if the sharing is successful.
IAIRFacebookShareListener
Method Detail
onFacebookShareCancel()method
public function onFacebookShareCancel():void

Called if the sharing dialog is cancelled.

onFacebookShareError()method 
public function onFacebookShareError(errorMessage:String):void

Called if an error occurs during the sharing process.

Parameters

errorMessage:String — Message describing the error.

onFacebookShareSuccess()method 
public function onFacebookShareSuccess(postID:String):void

Called if the sharing is successful.

Parameters

postID:String — ID of the post that was created during the sharing process. It is null when sharing using Messenger app.