C# Class TraktPlugin.TraktLists

Afficher le fichier Open project: trakt/Trakt-for-Mediaportal Class Usage Examples

Méthodes publiques

Méthode Description
ClearItemsInList ( string username, int id ) : void

Temporarily clears all items in a list Next time list contents will be refereshed online

ClearListCache ( string username ) : void
ClearListItemCache ( string username, string id ) : void
GetListDetailsFromUser ( TraktListDetail &list ) : bool

Get all details needed to create a new list or edit existing list

GetListItemsForUser ( string username, int id ) : IEnumerable

Get list items for user

GetListsForUser ( string username ) : IEnumerable

Get custom lists created by a user

GetUserListSelections ( List lists ) : List

Get the ids for each list selected by a user in the Multi-Select dialog

Private Methods

Méthode Description
GetMultiSelectItems ( List lists ) : List
GetPrivacyLevelFromTranslation ( string translatedString ) : string
GetPrivacyLevelIcon ( string privacyLevel ) : string
GetPrivacyLevelTranslation ( string privacyLevel ) : string

Method Details

ClearItemsInList() public static méthode

Temporarily clears all items in a list Next time list contents will be refereshed online
public static ClearItemsInList ( string username, int id ) : void
username string
id int
Résultat void

ClearListCache() public static méthode

public static ClearListCache ( string username ) : void
username string
Résultat void

ClearListItemCache() public static méthode

public static ClearListItemCache ( string username, string id ) : void
username string
id string
Résultat void

GetListDetailsFromUser() public static méthode

Get all details needed to create a new list or edit existing list
public static GetListDetailsFromUser ( TraktListDetail &list ) : bool
list TraktPlugin.TraktAPI.DataStructures.TraktListDetail returns list details
Résultat bool

GetListItemsForUser() public static méthode

Get list items for user
public static GetListItemsForUser ( string username, int id ) : IEnumerable
username string
id int
Résultat IEnumerable

GetListsForUser() public static méthode

Get custom lists created by a user
public static GetListsForUser ( string username ) : IEnumerable
username string
Résultat IEnumerable

GetUserListSelections() public static méthode

Get the ids for each list selected by a user in the Multi-Select dialog
public static GetUserListSelections ( List lists ) : List
lists List
Résultat List