AWS Mobile Analytics Unity SDK

时间:2014-12-11 14:43:54

标签: amazon-web-services unity3d amazon-mobile-analytics

有没有人知道用于AWS Mobile Analytics的Unity SDK?

有没有人成功整合AWS Mobile Analyics& Unity应用程序?

有关于该服务的稀疏信息,支持电子邮件的响应速度极慢。

2 个答案:

答案 0 :(得分:2)

看起来他们刚刚发布了Unity SDK for Mobile Analytics。

http://mobile.awsblog.com/post/Tx3E8EFREHR4JV8/Announcing-Amazon-Mobile-Analytics-in-the-AWS-Mobile-SDK-for-Unity

无耻复制:

void Start()
{

       _analyticsManager = AmazonMobileAnalyticsManager.GetOrCreateInstance(
                new CognitoAWSCredentials(<cognitoIdentityPoolId>, <region>), 
                <region>, 
                <appId>);       
}

货币化活动:

AmazonMobileAnalyticsMonetizationEvent monetizationEvent = new AmazonMobileAnalyticsMonetizationEvent();

monetizationEvent.Quantity = 3.0;
monetizationEvent.ItemPrice = 1.99;
monetizationEvent.ProductId = "health_booster";
monetizationEvent.ItemPriceFormatted = "$1.99";
monetizationEvent.Store = "Apple";
monetizationEvent.TransactionId = "TransactionId123";
monetizationEvent.Currency = "USD";

_analyticsManager.RecordEvent(monetizationEvent);

答案 1 :(得分:0)

2014年12月17日,AWS发布了以下Unity SDK,遗憾的是它尚未与AWS Mobile Analytics进行交互 - 因此只有原生iOS和目前可以使用Android SDK。

http://mobile.awsblog.com/post/Tx1KVR26DO9H5VX/Announcing-AWS-Mobile-SDK-for-Unity-Developer-Preview