C# Класс FB, swip3

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

Открытые свойства

Свойство Тип Описание
OnHideUnity HideUnityDelegate
OnInitComplete InitDelegate

Private Properties

Свойство Тип Описание
OnDllLoaded void

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

Метод Описание
API ( string query, HttpMethod method, FacebookDelegate callback = null, string>.Dictionary formData = null ) : void
API ( string query, HttpMethod method, FacebookDelegate callback, WWWForm formData ) : void
AppRequest ( string message, string to = null, string filters = "", string excludeIds = null, int maxRecipients = null, string data = "", string title = "", FacebookDelegate callback = null ) : void
Feed ( 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, HideUnityDelegate onHideUnity = null, string authResponse = null ) : void
Init ( InitDelegate onInitComplete, string appId, bool cookie = true, bool logging = true, bool status = true, bool xfbml = false, bool frictionlessRequests = true, HideUnityDelegate onHideUnity = null, string authResponse = null ) : void
Login ( string scope = "", FacebookDelegate callback = null ) : void
Logout ( ) : void
PublishInstall ( FacebookDelegate callback = null ) : void

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

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

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

API() публичный статический Метод

public static API ( string query, HttpMethod method, FacebookDelegate callback = null, string>.Dictionary formData = null ) : void
query string
method HttpMethod
callback FacebookDelegate
formData string>.Dictionary
Результат void

API() публичный статический Метод

public static API ( string query, HttpMethod method, FacebookDelegate callback, WWWForm formData ) : void
query string
method HttpMethod
callback FacebookDelegate
formData WWWForm
Результат void

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

public static 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

Feed() публичный статический Метод

public static Feed ( 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

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

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

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

public static Init ( InitDelegate onInitComplete, HideUnityDelegate onHideUnity = null, string authResponse = null ) : void
onInitComplete InitDelegate
onHideUnity HideUnityDelegate
authResponse string
Результат void

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

public static Init ( InitDelegate onInitComplete, string appId, bool cookie = true, bool logging = true, bool status = true, bool xfbml = false, bool frictionlessRequests = true, HideUnityDelegate onHideUnity = null, string authResponse = null ) : void
onInitComplete InitDelegate
appId string
cookie bool
logging bool
status bool
xfbml bool
frictionlessRequests bool
onHideUnity HideUnityDelegate
authResponse string
Результат void

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

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

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

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

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

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

Описание свойств

OnHideUnity публичное статическое свойство

public static HideUnityDelegate OnHideUnity
Результат HideUnityDelegate

OnInitComplete публичное статическое свойство

public static InitDelegate OnInitComplete
Результат InitDelegate