C# Класс ApiCore.Activity.ActivityFactory

Represents an a Vkontakte activity manager, that can get, or set user activities and actoivities of her friends
Наследование: BaseFactory
Показать файл Открыть проект

Открытые методы

Метод Описание
ActivityFactory ( ApiManager manager ) : System
Get ( int userId ) : ActivityEntry

Gets the current activity

GetHistory ( int userId ) : List

Gets the activity history for current user or friend

Set ( string message ) : int

Sets the current user activity

Приватные методы

Метод Описание
buildEntryList ( XmlDocument x ) : List

Описание методов

ActivityFactory() публичный Метод

public ActivityFactory ( ApiManager manager ) : System
manager ApiManager
Результат System

Get() публичный Метод

Gets the current activity
public Get ( int userId ) : ActivityEntry
userId int if null - current user activity was been returned, if specified - friend activity was been returned
Результат ActivityEntry

GetHistory() публичный Метод

Gets the activity history for current user or friend
public GetHistory ( int userId ) : List
userId int if null - current user history was been returned, if specified - friend history was been returned
Результат List

Set() публичный Метод

Sets the current user activity
public Set ( string message ) : int
message string Activity message
Результат int