LJAccount.h



Constants

LJAccountDidLoginNotification

Posted after an account object performs a successful login. The notification object is the account instance.


LJAccountDidLoginNotification

Posted after an account object fails to log in. The notification object is the account instance. The userInfo object for key LJException is the exception raised during login.


LJAccountWillConnectNotification

Posted before the LJAccount initiates a connection to the server. The notification object is the LJAccount instance, and the userInfo dictionary contains: LJMode => the protocol mode LJParameters => the key-value pairs sent to the server LJConnection => a connection ID (an NSNumber)


LJAccountWillConnectNotification

Posted after the LJAccount initiates a connection to the server. The notification object is the LJAccount instance, and the userInfo dictionary contains: LJMode => the protocol mode LJParameters => the key-value pairs sent to the server LJConnection => a connection ID (an NSNumber) LJReply => the key-value pairs returned from the server on success LJException => the exception raised during the connection


LJAccountWillLoginNotification

Posted before an account object attempts to login. The notification object is the account instance.


Enumerations

Login Flags

enum {
    LJNoLoginFlags                 = 0,
    LJGetMoodsLoginFlag            = 0x00000001,
    LJGetMenuLoginFlag             = 0x00000002,
    LJGetUserPicturesLoginFlag     = 0x00000004,
    LJDoNotUseFastServersLoginFlag = 0x00000008,
    LJDefaultLoginFlags            = 0x00000007,
    LJReservedLoginFlags           = 0xFFFFFFF0,
};

These flags are used with the loginWithPassword:flags: method to determine what features of the LJKit you wish to enable or disable. They can be combined with the bitwise OR operator (|).

Constants

NameDescription
LJNoLoginFlagsDon't download any extra information.

LJGetMoodsLoginFlagDownload mood information. Updates the current mood object if it has already been set using the setMoods: method. Otherwise, creates a new moods object.

LJGetMenuLoginFlagCreates a web menu. After login it can be retrieved with the menu method.

LJGetUserPicturesLoginFlagDownload keywords and URLs for account pictures. After login they can be retrieved with the userPicturesDictionary method.

LJDoNotUseFastServersLoginFlagDon't enable fast server access, even if the server offers it. Has no effect if fast server access is not offered.

LJDefaultLoginFlagsDownloads all available information and enabled fast server access if offered.

LJReservedLoginFlagsThese bits are reserved and must be set to zero.

(Last Updated 2/17/2003)