Playvoi/Playvoi.Client/Assets/ShiroginSDK/Runtime/Services/Interfaces/IFacebookService.cs

16 lines
No EOL
529 B
C#

using System;
using System.Collections.Generic;
namespace ShiroginSDK.Runtime.Services.Interfaces
{
/// <summary>
/// Provides Facebook SDK features: initialization, login, and analytics logging.
/// </summary>
public interface IFacebookService
{
void Initialize();
void Login(Action<bool, string> callback = null);
void LogPurchase(float amount, string currency);
void LogEvent(string eventName, float? value = null, Dictionary<string, object> parameters = null);
}
}