Account class
Методы для работы с аккаунтом.
Constructors
- Account.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
-
ban<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Добавляет пользователя или группу в черный список.
-
changePassword<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Changes a user password after access is successfully restored with the Auth.restore method.
-
getActiveOffers<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns a list of active ads (offers) which executed by the user will bring him/her respective number of votes to his balance in the application.
-
getAppPermissions<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Gets settings of the user in this application.
-
getBanned<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns a user's blacklist.
-
getCounters<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns non-null values of user counters.
-
getInfo<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns current account info.
-
getProfileInfo<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Returns the current account info.
-
getPushSettings<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Gets settings of push notifications.
-
lookupContacts<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Позволяет искать пользователей ВКонтакте, используя телефонные номера, email-адреса, и идентификаторы пользователей в других сервисах. Найденные пользователи могут быть также в дальнейшем получены методом friends.getSuggestions.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerDevice<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Subscribes an iOS/Android/Windows Phone-based device to receive push notifications
-
saveProfileInfo<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Edits current profile info.
-
setInfo<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Allows to edit the current account info.
-
setNameInMenu<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Устанавливает короткое название приложения (до 17 символов), которое выводится пользователю в левом меню.
-
setOffline<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Marks a current user as offline.
-
setOnline<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Marks the current user as online for 15 minutes.
-
setPushSettings<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Change push settings.
-
setSilenceMode<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Mutes push notifications for the set period of time.
-
toString(
) → String -
A string representation of this object.
inherited
-
unban<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Удаляет пользователя или группу из черного списка.
-
unregisterDevice<
T> (Map< String, Object> params) → Future<ApiResponse< T> > - Unsubscribes a device from push notifications.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited