SgOperation class

platform 为 flutter提供的API支持

Constructors

SgOperation()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

cacheVideo(List<String> urls, bool append) Future<int>
设置屏幕长亮或者自然状态
downloadAdApp(Map param) Future<bool>
立即下载
educationPageShow(Map param) Future<int>
视频教育页
favorite(Map param) Future
收藏
feedback(Map param) Future<int>
投诉反馈
getSysInfo() Future<Map>
获取系统信息
giveLike(Map param) Future<int>
视频点赞
manualDebug(String orgMsg) Future<String>
界面跳转
openAdDetail(Map param) Future<bool>
查看广告详情
pageClose(Map param) Future<bool>
视频界面关闭
shareVideo(Map param) Future<bool>
分享
showAdSendTrack(Map param) Future<bool>
广告展现回传
showComments(Map param) Future<Map>
展示评论 回传评论条目!!
statistics(int type, dynamic param) Future<bool>
数据统计
stayScreenLight(bool param) Future<int>
设置屏幕长亮或者自然状态
switchVideo(Map param) Future<bool>
视频切换
userNotLike(Map param) Future<String>
不感兴趣
whenCrash(String extra, String trace) Future<bool>
crash收集
writeComments(Map param) Future<Map>
写评论

Constants

ACTION_CACHE_VIDEO → const String
"action_cache_video"
ACTION_DOWNLOADADAPP → const String
"action_downloadAdApp"
ACTION_EDUCATION_SHOW → const String
"action_education_show"
ACTION_FAVORITE → const String
"action_favorite"
ACTION_FEEDBACK → const String
"action_feedBack"
ACTION_GETSYSINFO → const String
"action_getsysinfo"
ACTION_GIVELIKE → const String
"action_giveLike"
ACTION_MANUAL_DEBUG → const String
"action_mannual_debug"
ACTION_NAVIGATOR → const String
"action_navigator"
ACTION_NOTLIKE → const String
"action_notLike"
ACTION_OPENADDETAIL → const String
"action_openAdDetail"
ACTION_PAGECLOSE → const String
"action_pageClose"
ACTION_SHARE → const String
"action_share"
ACTION_SHOWAD_TRACK → const String
"action_showad_track"
ACTION_SHOWCOMMENTS → const String
"action_showComments"
ACTION_STATISTICS → const String
"action_statistics"
ACTION_STAYSCREEN_LIGHT → const String
"action_stayscreen_light"
ACTION_SWITCH_VIDEO → const String
"action_switch_video"
ACTION_WHEN_CRASH → const String
"action_when_crash"
ACTION_WRITECOMMENTS → const String
"action_writeComments"
STATISTICS_COUNTING_TYPE → const int
1
STATISTICS_IMMEDIATELY_TYPE → const int
计数类型的统计数据
2