C# Class Facebook.AndroidFacebook

Inheritance: Facebook.NativeFacebook
Exibir arquivo Open project: unit9/swip3

Private Properties

Property Type Description
CallFB void
FromTimestamp System.DateTime
IsErrorResponse bool
ToStringDict string>.Dictionary

Public Methods

Method Description
AppEventsLogEvent ( string logEvent, float valueToSum = null, object>.Dictionary parameters = null ) : void
AppEventsLogPurchase ( float logPurchase, string currency = "USD", object>.Dictionary parameters = null ) : void
AppRequest ( string message, string to = null, string filters = "", string excludeIds = null, int maxRecipients = null, string data = "", string title = "", FacebookDelegate callback = null ) : void
FeedRequest ( string toId = "", string link = "", string linkName = "", string linkCaption = "", string linkDescription = "", string picture = "", string mediaSource = "", string actionName = "", string actionLink = "", string reference = "", string[]>.Dictionary properties = null, FacebookDelegate callback = null ) : void
GetDeepLink ( FacebookDelegate callback ) : void
Init ( InitDelegate onInitComplete, string appId, bool cookie = false, bool logging = true, bool status = true, bool xfbml = false, string channelUrl = "", string authResponse = null, bool frictionlessRequests = false, HideUnityDelegate hideUnityDelegate = null ) : void
Login ( string scope = "", FacebookDelegate callback = null ) : void
Logout ( ) : void
OnAccessTokenRefresh ( string message ) : void
OnAppRequestsComplete ( string message ) : void
OnFeedRequestComplete ( string message ) : void
OnGetDeepLinkComplete ( string message ) : void
OnInitComplete ( string message ) : void
OnLoginComplete ( string message ) : void
OnLogoutComplete ( string message ) : void
OnPublishInstallComplete ( string message ) : void
Pay ( string product, string action = "purchaseitem", int quantity = 1, int quantityMin = null, int quantityMax = null, string requestId = null, string pricepointId = null, string testCurrency = null, FacebookDelegate callback = null ) : void
PublishInstall ( string appId, FacebookDelegate callback = null ) : void

Protected Methods

Method Description
OnAwake ( ) : void

Private Methods

Method Description
CallFB ( string method, string args ) : void
FromTimestamp ( int timestamp ) : System.DateTime
IsErrorResponse ( string response ) : bool
ToStringDict ( object>.Dictionary dict ) : string>.Dictionary

Method Details

AppEventsLogEvent() public method

public AppEventsLogEvent ( string logEvent, float valueToSum = null, object>.Dictionary parameters = null ) : void
logEvent string
valueToSum float
parameters object>.Dictionary
return void

AppEventsLogPurchase() public method

public AppEventsLogPurchase ( float logPurchase, string currency = "USD", object>.Dictionary parameters = null ) : void
logPurchase float
currency string
parameters object>.Dictionary
return void

AppRequest() public method

public AppRequest ( string message, string to = null, string filters = "", string excludeIds = null, int maxRecipients = null, string data = "", string title = "", FacebookDelegate callback = null ) : void
message string
to string
filters string
excludeIds string
maxRecipients int
data string
title string
callback FacebookDelegate
return void

FeedRequest() public method

public FeedRequest ( string toId = "", string link = "", string linkName = "", string linkCaption = "", string linkDescription = "", string picture = "", string mediaSource = "", string actionName = "", string actionLink = "", string reference = "", string[]>.Dictionary properties = null, FacebookDelegate callback = null ) : void
toId string
link string
linkName string
linkCaption string
linkDescription string
picture string
mediaSource string
actionName string
actionLink string
reference string
properties string[]>.Dictionary
callback FacebookDelegate
return void

GetDeepLink() public method

public GetDeepLink ( FacebookDelegate callback ) : void
callback FacebookDelegate
return void

Init() public method

public Init ( InitDelegate onInitComplete, string appId, bool cookie = false, bool logging = true, bool status = true, bool xfbml = false, string channelUrl = "", string authResponse = null, bool frictionlessRequests = false, HideUnityDelegate hideUnityDelegate = null ) : void
onInitComplete InitDelegate
appId string
cookie bool
logging bool
status bool
xfbml bool
channelUrl string
authResponse string
frictionlessRequests bool
hideUnityDelegate HideUnityDelegate
return void

Login() public method

public Login ( string scope = "", FacebookDelegate callback = null ) : void
scope string
callback FacebookDelegate
return void

Logout() public method

public Logout ( ) : void
return void

OnAccessTokenRefresh() public method

public OnAccessTokenRefresh ( string message ) : void
message string
return void

OnAppRequestsComplete() public method

public OnAppRequestsComplete ( string message ) : void
message string
return void

OnAwake() protected method

protected OnAwake ( ) : void
return void

OnFeedRequestComplete() public method

public OnFeedRequestComplete ( string message ) : void
message string
return void

OnGetDeepLinkComplete() public method

public OnGetDeepLinkComplete ( string message ) : void
message string
return void

OnInitComplete() public method

public OnInitComplete ( string message ) : void
message string
return void

OnLoginComplete() public method

public OnLoginComplete ( string message ) : void
message string
return void

OnLogoutComplete() public method

public OnLogoutComplete ( string message ) : void
message string
return void

OnPublishInstallComplete() public method

public OnPublishInstallComplete ( string message ) : void
message string
return void

Pay() public method

public Pay ( string product, string action = "purchaseitem", int quantity = 1, int quantityMin = null, int quantityMax = null, string requestId = null, string pricepointId = null, string testCurrency = null, FacebookDelegate callback = null ) : void
product string
action string
quantity int
quantityMin int
quantityMax int
requestId string
pricepointId string
testCurrency string
callback FacebookDelegate
return void

PublishInstall() public method

public PublishInstall ( string appId, FacebookDelegate callback = null ) : void
appId string
callback FacebookDelegate
return void