com.fattycat.tds.moment
v0.0.2-xd.1
Published
TapTap Develop Service
Downloads
6
Readme
TapTap.Moment
使用前提
使用 TapTap.Moment 前提是必须依赖以下库:
命名空间
using TapTap.Moment;接口描述
设置回调
TapMoment.SetCallback(Action<int,string> action);打开动态
TapMoment.Open(Orientation orientation);发布动态
TapMoment.Publish(Orientation orientation, string[] imagePaths, string content);关闭动态
TapMoment.Close();获取更新消息
TapMoment.FetchNotification();打开特定页面
场景化入口
var sceneDic = new Dictionary<string,object>(){{TapMomentConstants.TapMomentPageShortCutKey,sceneId}};
TapMoment.DirectlyOpen(orientation,TapMomentConstants.TapMomentPageShortCut,sceneDic);