C# Class Facebook.Unity.Arcade.ArcadeFacebook

Inheritance: FacebookBase, IArcadeFacebookImplementation
Afficher le fichier Open project: facebook/facebook-sdk-for-unity Class Usage Examples

Méthodes publiques

Méthode Description
ActivateApp ( string appId = null ) : void
AppEventsLogEvent ( string logEvent, float valueToSum, object>.Dictionary parameters ) : void
AppEventsLogPurchase ( float logPurchase, string currency, object>.Dictionary parameters ) : void
AppRequest ( string message, OGActionType actionType, string objectId, IEnumerable to, IEnumerable filters, IEnumerable excludeIds, int maxRecipients, string data, string title, FacebookDelegate callback ) : void
ArcadeFacebook ( ) : System
ArcadeFacebook ( IArcadeWrapper arcadeWrapper, CallbackManager callbackManager ) : System
FeedShare ( string toId, Uri link, string linkName, string linkCaption, string linkDescription, Uri picture, string mediaSource, FacebookDelegate callback ) : void
GameGroupCreate ( string name, string description, string privacy, FacebookDelegate callback ) : void
GameGroupJoin ( string id, FacebookDelegate callback ) : void
GetAppLink ( FacebookDelegate callback ) : void
GetPipeResponse ( string callbackId ) : string
HaveReceivedPipeResponse ( ) : bool
Init ( string appId, HideUnityDelegate hideUnityDelegate, InitDelegate onInitComplete ) : void
LogInWithPublishPermissions ( IEnumerable scope, FacebookDelegate callback ) : void
LogInWithReadPermissions ( IEnumerable scope, FacebookDelegate callback ) : void
OnAppRequestsComplete ( ResultContainer resultContainer ) : void
OnGetAppLinkComplete ( ResultContainer resultContainer ) : void
OnGroupCreateComplete ( ResultContainer resultContainer ) : void
OnGroupJoinComplete ( ResultContainer resultContainer ) : void
OnLoginComplete ( ResultContainer resultContainer ) : void
OnPayComplete ( ResultContainer resultContainer ) : void
OnShareLinkComplete ( ResultContainer resultContainer ) : void
Pay ( string product, string action, int quantity, int quantityMin, int quantityMax, string requestId, string pricepointId, string testCurrency, FacebookDelegate callback ) : void
PayWithProductId ( string productId, string action, int quantity, int quantityMin, int quantityMax, string requestId, string pricepointId, string testCurrency, FacebookDelegate callback ) : void
PayWithProductId ( string productId, string action, string developerPayload, string testCurrency, FacebookDelegate callback ) : void
ShareLink ( Uri contentURL, string contentTitle, string contentDescription, Uri photoURL, FacebookDelegate callback ) : void

Private Methods

Méthode Description
GetArcadeWrapper ( ) : IArcadeWrapper
LoginWithPermissions ( IEnumerable scope, FacebookDelegate callback ) : void
PayImpl ( string product, string productId, string action, int quantity, int quantityMin, int quantityMax, string requestId, string pricepointId, string testCurrency, string developerPayload, FacebookDelegate callback ) : void

Method Details

ActivateApp() public méthode

public ActivateApp ( string appId = null ) : void
appId string
Résultat void

AppEventsLogEvent() public méthode

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

AppEventsLogPurchase() public méthode

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

AppRequest() public méthode

public AppRequest ( string message, OGActionType actionType, string objectId, IEnumerable to, IEnumerable filters, IEnumerable excludeIds, int maxRecipients, string data, string title, FacebookDelegate callback ) : void
message string
actionType OGActionType
objectId string
to IEnumerable
filters IEnumerable
excludeIds IEnumerable
maxRecipients int
data string
title string
callback FacebookDelegate
Résultat void

ArcadeFacebook() public méthode

public ArcadeFacebook ( ) : System
Résultat System

ArcadeFacebook() public méthode

public ArcadeFacebook ( IArcadeWrapper arcadeWrapper, CallbackManager callbackManager ) : System
arcadeWrapper IArcadeWrapper
callbackManager CallbackManager
Résultat System

FeedShare() public méthode

public FeedShare ( string toId, Uri link, string linkName, string linkCaption, string linkDescription, Uri picture, string mediaSource, FacebookDelegate callback ) : void
toId string
link System.Uri
linkName string
linkCaption string
linkDescription string
picture System.Uri
mediaSource string
callback FacebookDelegate
Résultat void

GameGroupCreate() public méthode

public GameGroupCreate ( string name, string description, string privacy, FacebookDelegate callback ) : void
name string
description string
privacy string
callback FacebookDelegate
Résultat void

GameGroupJoin() public méthode

public GameGroupJoin ( string id, FacebookDelegate callback ) : void
id string
callback FacebookDelegate
Résultat void

GetAppLink() public méthode

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

GetPipeResponse() public méthode

public GetPipeResponse ( string callbackId ) : string
callbackId string
Résultat string

HaveReceivedPipeResponse() public méthode

public HaveReceivedPipeResponse ( ) : bool
Résultat bool

Init() public méthode

public Init ( string appId, HideUnityDelegate hideUnityDelegate, InitDelegate onInitComplete ) : void
appId string
hideUnityDelegate HideUnityDelegate
onInitComplete InitDelegate
Résultat void

LogInWithPublishPermissions() public méthode

public LogInWithPublishPermissions ( IEnumerable scope, FacebookDelegate callback ) : void
scope IEnumerable
callback FacebookDelegate
Résultat void

LogInWithReadPermissions() public méthode

public LogInWithReadPermissions ( IEnumerable scope, FacebookDelegate callback ) : void
scope IEnumerable
callback FacebookDelegate
Résultat void

OnAppRequestsComplete() public méthode

public OnAppRequestsComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
Résultat void

OnGetAppLinkComplete() public méthode

public OnGetAppLinkComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
Résultat void

OnGroupCreateComplete() public méthode

public OnGroupCreateComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
Résultat void

OnGroupJoinComplete() public méthode

public OnGroupJoinComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
Résultat void

OnLoginComplete() public méthode

public OnLoginComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
Résultat void

OnPayComplete() public méthode

public OnPayComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
Résultat void

OnShareLinkComplete() public méthode

public OnShareLinkComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
Résultat void

Pay() public méthode

public Pay ( string product, string action, int quantity, int quantityMin, int quantityMax, string requestId, string pricepointId, string testCurrency, FacebookDelegate callback ) : void
product string
action string
quantity int
quantityMin int
quantityMax int
requestId string
pricepointId string
testCurrency string
callback FacebookDelegate
Résultat void

PayWithProductId() public méthode

public PayWithProductId ( string productId, string action, int quantity, int quantityMin, int quantityMax, string requestId, string pricepointId, string testCurrency, FacebookDelegate callback ) : void
productId string
action string
quantity int
quantityMin int
quantityMax int
requestId string
pricepointId string
testCurrency string
callback FacebookDelegate
Résultat void

PayWithProductId() public méthode

public PayWithProductId ( string productId, string action, string developerPayload, string testCurrency, FacebookDelegate callback ) : void
productId string
action string
developerPayload string
testCurrency string
callback FacebookDelegate
Résultat void

ShareLink() public méthode

public ShareLink ( Uri contentURL, string contentTitle, string contentDescription, Uri photoURL, FacebookDelegate callback ) : void
contentURL System.Uri
contentTitle string
contentDescription string
photoURL System.Uri
callback FacebookDelegate
Résultat void