CsAyetstudiosAndroid class
Constructors
- CsAyetstudiosAndroid()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAvailableBalance(
) → Future< int?> - 获取当前可用积分
-
getPendingBalance(
) → Future< int?> - 获取等待的积分
-
getSpentBalance(
) → Future< int?> - 获取当前花费掉积分
-
initSDK(
{required String uid, required String appKey}) → Future< void> -
isInitialized(
) → Future< bool?> - SDK是否初始化完成
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setInitializationSuccessListener(
InitializationSuccess initializationSuccess) → void - SDK初始化成功
-
setInitilizationFailedListener(
InitializationFailed initializationFailed) → void - SDK初始化失败
-
setUserBalanceChangedListener(
UserBalanceChanged userBalanceChanged) → void - 用户积分发生变化
-
setVideoAbortedListener(
VideoAborted videoAborted) → void - 视频放弃 或者跳过
-
setVideoCompletedListener(
VideoCompleted videoCompleted) → void - 看完完整视频获得奖励回调
-
setVideoFinishedListener(
VideoFinished videoFinished) → void - 所有视频活动完成时都会调用(视频完成,中止或其他问题,如网络速度)
-
setVideoNofillListener(
VideoNofill videoNofill) → void - 没有获得视频奖励可以展示
-
setVideoWillBeShownListener(
VideoWillBeShown videoWillBeShown) → void - 择一个视频之后和视频活动开始播放它之前被调用
-
showOfferwallAd(
String name) → Future< void> - 展示积分墙
-
showVideoAd(
String name) → Future< void> - 展示视频广告
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited