浏览代码

Added comments in the demo scripts

- Added comments for Api description on App message demo scripts
- Added description in the readme
/main
Marcus Lao 4 年前
当前提交
092374ef
共有 2 个文件被更改,包括 7 次插入0 次删除
  1. 4
      Assets/HuaweiServiceDemo/Scripts/test/appmessage/AppMessageListener.cs
  2. 3
      README.md

4
Assets/HuaweiServiceDemo/Scripts/test/appmessage/AppMessageListener.cs


}
}
// Callback for a message tap.
public class ClickListener : AGConnectAppMessagingOnClickListener
{
public override void onMessageClick(AppMessage arg0)

}
// Callback for message closing.
public class DismissListener : AGConnectAppMessagingOnDismissListener
{
public override void onMessageDismiss(AppMessage arg0, AGConnectAppMessagingCallback.DismissType arg1)

}
}
// Callback for message display.
public class DisplayListener : AGConnectAppMessagingOnDisplayListener
{
public override void onMessageDisplay(AppMessage arg0)

}
}
// Callback for message loading exceptions.
public class OnErrorListener : AGConnectAppMessagingOnErrorListener
{
public override void onMessageError(AppMessage arg0)

3
README.md


The following Kits included.
- HMS
- Game Service
- Ads
- Push
- Location

- Crash
- Auth Service
- Cloud Functions
- Cloud Storage
- Cloud DB
***Unity 2019 or higher***
***Before build, add your keystore, create huawei agc project and put `agconnect-services.json` under `Assets/Plugins/Android/`***

正在加载...
取消
保存