C# Class Facebook.IOSFacebook

Inheritance: Facebook.AbstractFacebook
Afficher le fichier Open project: unit9/swip3

Méthodes publiques

Méthode 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, Facebook hideUnityDelegate = null ) : void
Login ( string scope = "", FacebookDelegate callback = null ) : void
Logout ( ) : void
OnAccessTokenRefresh ( string message ) : void
OnGetDeepLinkComplete ( string message ) : void
OnLogin ( string msg ) : void
OnLogout ( string msg ) : void
OnRequestComplete ( string msg ) : void
ParseLoginDict ( object>.Dictionary parameters ) : 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

Méthodes protégées

Méthode Description
OnAwake ( ) : void

Private Methods

Méthode Description
FromTimestamp ( int timestamp ) : System.DateTime
MarshallDict ( object>.Dictionary dict ) : NativeDict
MarshallDict ( string>.Dictionary dict ) : NativeDict
OnInitComplete ( string msg ) : void
iosAppRequest ( int requestId, string message, string to = null, int toLength, string filters = "", string excludeIds = null, int excludeIdsLength, bool hasMaxRecipients = false, int maxRecipients, string data = "", string title = "" ) : void
iosFBAppEventsLogEvent ( string logEvent, double valueToSum, int numParams, string paramKeys, string paramVals ) : void
iosFBAppEventsLogPurchase ( double logPurchase, string currency, int numParams, string paramKeys, string paramVals ) : void
iosFBAppEventsSetLimitEventUsage ( bool limitEventUsage ) : void
iosFBSettingsPublishInstall ( int requestId, string appId ) : void
iosFeedRequest ( int requestId, string toId, string link, string linkName, string linkCaption, string linkDescription, string picture, string mediaSource, string actionName, string actionLink, string reference ) : void
iosGetDeepLink ( ) : void
iosInit ( bool cookie, bool logging, bool status, bool frictionlessRequests, string urlSuffix ) : void
iosLogin ( string scope ) : void
iosLogout ( ) : void
iosSetShareDialogMode ( int mode ) : void

Method Details

AppEventsLogEvent() public méthode

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

AppEventsLogPurchase() public méthode

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

AppRequest() public méthode

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
Résultat void

FeedRequest() public méthode

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
Résultat void

GetDeepLink() public méthode

public GetDeepLink ( FacebookDelegate callback ) : void
callback FacebookDelegate
Résultat void

Init() public méthode

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, Facebook hideUnityDelegate = null ) : void
onInitComplete InitDelegate
appId string
cookie bool
logging bool
status bool
xfbml bool
channelUrl string
authResponse string
frictionlessRequests bool
hideUnityDelegate Facebook
Résultat void

Login() public méthode

public Login ( string scope = "", FacebookDelegate callback = null ) : void
scope string
callback FacebookDelegate
Résultat void

Logout() public méthode

public Logout ( ) : void
Résultat void

OnAccessTokenRefresh() public méthode

public OnAccessTokenRefresh ( string message ) : void
message string
Résultat void

OnAwake() protected méthode

protected OnAwake ( ) : void
Résultat void

OnGetDeepLinkComplete() public méthode

public OnGetDeepLinkComplete ( string message ) : void
message string
Résultat void

OnLogin() public méthode

public OnLogin ( string msg ) : void
msg string
Résultat void

OnLogout() public méthode

public OnLogout ( string msg ) : void
msg string
Résultat void

OnRequestComplete() public méthode

public OnRequestComplete ( string msg ) : void
msg string
Résultat void

ParseLoginDict() public méthode

public ParseLoginDict ( object>.Dictionary parameters ) : void
parameters object>.Dictionary
Résultat void

Pay() public méthode

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
Résultat void

PublishInstall() public méthode

public PublishInstall ( string appId, FacebookDelegate callback = null ) : void
appId string
callback FacebookDelegate
Résultat void