Secure class
В этой секции представлены административные методы, предназначенные для вызова от имени приложения с использованием стороннего сервера. Для использования этих методов необходимо применять сервисный ключ из настроек приложения.
Constructors
- Secure.new(Api _api)
- Конструктор.
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
-
addAppEvent<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Adds user activity information to an application
-
checkToken<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Checks the user authentication in 'IFrame' and 'Flash' apps using the 'access_token' parameter.
-
getAppBalance<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns payment balance of the application in hundredth of a vote.
-
getSMSHistory<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Shows a list of SMS notifications sent by the application using sendSMSNotification method.
-
getTransactionsHistory<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Shows history of votes transaction between users and the application.
-
getUserLevel<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns one of the previously set game levels of one or more users in the application.
-
giveEventSticker<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Opens the game achievement and gives the user a sticker
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendNotification<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Sends notification to the user.
-
sendSMSNotification<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Sends 'SMS' notification to a user's mobile device.
-
setCounter<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Sets a counter which is shown to the user in bold in the left menu.
-
setUserLevel<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Устанавливает игровой уровень пользователя в приложении, который смогут увидеть его друзья.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited