ItemManager

public class ItemManager

ItemManager is used to make all operations with avatar items.

  • Is used to download the item files from the server. At the first time the full set of files will be downloaded for each item type. Further only neсessary set of files will be downloaded.

    Declaration

    Swift

    public class func downloadItem(itemModel: ItemModel) -> TaskHandler<ItemModel>

    Parameters

    itemModel

    The item model for which files should be downloaded.

    Return Value

    Task handler object which can be used for subscription on progress and completion callbacks.