C# Класс Facebook.Unity.Arcade.ArcadeFacebook

Наследование: FacebookBase, IArcadeFacebookImplementation
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

ActivateApp() публичный Метод

public ActivateApp ( string appId = null ) : void
appId string
Результат void

AppEventsLogEvent() публичный Метод

public AppEventsLogEvent ( string logEvent, float valueToSum, object>.Dictionary parameters ) : void
logEvent string
valueToSum float
parameters object>.Dictionary
Результат void

AppEventsLogPurchase() публичный Метод

public AppEventsLogPurchase ( float logPurchase, string currency, object>.Dictionary parameters ) : void
logPurchase float
currency string
parameters object>.Dictionary
Результат void

AppRequest() публичный Метод

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
Результат void

ArcadeFacebook() публичный Метод

public ArcadeFacebook ( ) : System
Результат System

ArcadeFacebook() публичный Метод

public ArcadeFacebook ( IArcadeWrapper arcadeWrapper, CallbackManager callbackManager ) : System
arcadeWrapper IArcadeWrapper
callbackManager CallbackManager
Результат System

FeedShare() публичный Метод

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
Результат void

GameGroupCreate() публичный Метод

public GameGroupCreate ( string name, string description, string privacy, FacebookDelegate callback ) : void
name string
description string
privacy string
callback FacebookDelegate
Результат void

GameGroupJoin() публичный Метод

public GameGroupJoin ( string id, FacebookDelegate callback ) : void
id string
callback FacebookDelegate
Результат void

GetAppLink() публичный Метод

public GetAppLink ( FacebookDelegate callback ) : void
callback FacebookDelegate
Результат void

GetPipeResponse() публичный Метод

public GetPipeResponse ( string callbackId ) : string
callbackId string
Результат string

HaveReceivedPipeResponse() публичный Метод

public HaveReceivedPipeResponse ( ) : bool
Результат bool

Init() публичный Метод

public Init ( string appId, HideUnityDelegate hideUnityDelegate, InitDelegate onInitComplete ) : void
appId string
hideUnityDelegate HideUnityDelegate
onInitComplete InitDelegate
Результат void

LogInWithPublishPermissions() публичный Метод

public LogInWithPublishPermissions ( IEnumerable scope, FacebookDelegate callback ) : void
scope IEnumerable
callback FacebookDelegate
Результат void

LogInWithReadPermissions() публичный Метод

public LogInWithReadPermissions ( IEnumerable scope, FacebookDelegate callback ) : void
scope IEnumerable
callback FacebookDelegate
Результат void

OnAppRequestsComplete() публичный Метод

public OnAppRequestsComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
Результат void

OnGetAppLinkComplete() публичный Метод

public OnGetAppLinkComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
Результат void

OnGroupCreateComplete() публичный Метод

public OnGroupCreateComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
Результат void

OnGroupJoinComplete() публичный Метод

public OnGroupJoinComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
Результат void

OnLoginComplete() публичный Метод

public OnLoginComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
Результат void

OnPayComplete() публичный Метод

public OnPayComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
Результат void

OnShareLinkComplete() публичный Метод

public OnShareLinkComplete ( ResultContainer resultContainer ) : void
resultContainer ResultContainer
Результат void

Pay() публичный Метод

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
Результат void

PayWithProductId() публичный Метод

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
Результат void

PayWithProductId() публичный Метод

public PayWithProductId ( string productId, string action, string developerPayload, string testCurrency, FacebookDelegate callback ) : void
productId string
action string
developerPayload string
testCurrency string
callback FacebookDelegate
Результат void

ShareLink() публичный Метод

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
Результат void