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)