C# Класс Facebook.EditorFacebook

Наследование: UnityEngine.MonoBehaviour, IFacebook
Показать файл Открыть проект

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

Метод Описание
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
GetAuthResponse ( 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
MockCancelledLoginCallback ( ) : void
MockLoginCallback ( FBResult result ) : 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

Защищенные методы

Метод Описание
OnAwake ( ) : void

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

Метод Описание
BadAccessToken ( string error ) : void
OnDllLoaded ( IFacebook fb ) : void
OnInit ( 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 ) : IEnumerator

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

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

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

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

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

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

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

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

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

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

public GetAuthResponse ( FacebookDelegate callback = null ) : void
callback FacebookDelegate
Результат void

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

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

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

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

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

public Login ( string scope = "", FacebookDelegate callback = null ) : void
scope string
callback FacebookDelegate
Результат void

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

public Logout ( ) : void
Результат void

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

public MockCancelledLoginCallback ( ) : void
Результат void

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

public MockLoginCallback ( FBResult result ) : void
result FBResult
Результат void

OnAwake() защищенный Метод

protected OnAwake ( ) : void
Результат void

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

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

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

public PublishInstall ( string appId, FacebookDelegate callback = null ) : void
appId string
callback FacebookDelegate
Результат void