C# Class Facebook.Unity.Arcade.ArcadeFacebook

Inheritance: FacebookBase, IArcadeFacebookImplementation
Datei anzeigen Open project: facebook/facebook-sdk-for-unity Class Usage Examples

Public Methods

Method 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

Method 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 method

public ActivateApp ( string appId = null ) : void
appId string
return void

AppEventsLogEvent() public method

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

AppEventsLogPurchase() public method

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

AppRequest() public method

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
return void

ArcadeFacebook() public method

public ArcadeFacebook ( ) : System
return System

ArcadeFacebook() public method

public ArcadeFacebook ( IArcadeWrapper arcadeWrapper, CallbackManager callbackManager ) : System
arcadeWrapper IArcadeWrapper
callbackManager CallbackManager
return System

FeedShare() public method

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
return void

GameGroupCreate() public method

public GameGroupCreate ( string name, string description, string privacy, FacebookDelegate callback ) : void
name string
description string
privacy string
callback FacebookDelegate
return void

GameGroupJoin() public method

public GameGroupJoin ( string id, FacebookDelegate callback ) : void
id string
callback FacebookDelegate
return void

GetAppLink() public method

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

GetPipeResponse() public method

public GetPipeResponse ( string callbackId ) : string
callbackId string
return string

HaveReceivedPipeResponse() public method

public HaveReceivedPipeResponse ( ) : bool
return bool

Init() public method

public Init ( string appId, HideUnityDelegate hideUnityDelegate, InitDelegate onInitComplete ) : void
appId string
hideUnityDelegate HideUnityDelegate
onInitComplete InitDelegate
return void

LogInWithPublishPermissions() public method

public LogInWithPublishPermissions ( IEnumerable scope, FacebookDelegate callback ) : void
scope IEnumerable
callback FacebookDelegate
return void

LogInWithReadPermissions() public method

public LogInWithReadPermissions ( IEnumerable scope, FacebookDelegate callback ) : void
scope IEnumerable
callback FacebookDelegate
return void

OnAppRequestsComplete() public method

public OnAppRequestsComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
return void

OnGetAppLinkComplete() public method

public OnGetAppLinkComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
return void

OnGroupCreateComplete() public method

public OnGroupCreateComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
return void

OnGroupJoinComplete() public method

public OnGroupJoinComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
return void

OnLoginComplete() public method

public OnLoginComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
return void

OnPayComplete() public method

public OnPayComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
return void

OnShareLinkComplete() public method

public OnShareLinkComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
return void

Pay() public method

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
return void

PayWithProductId() public method

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
return void

PayWithProductId() public method

public PayWithProductId ( string productId, string action, string developerPayload, string testCurrency, FacebookDelegate callback ) : void
productId string
action string
developerPayload string
testCurrency string
callback FacebookDelegate
return void

ShareLink() public method

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
return void