HaircutModel

public class HaircutModel

HaircutModel contains base information about the haircut model.

  • Model haircut identity.

    Declaration

    Swift

    public var identity                  : String
  • Model haircut server data.

    Declaration

    Swift

    public var responseHaircutModel      : ResponseAvatarHaircutModel
  • File URL to preview image of this haircut. Currently unavailable.

    Declaration

    Swift

    public var previewFileURL            : URL
  • Can be used to present the current haircut on the screen.

    Declaration

    Swift

    public var plyItem                   : PlyItem
  • Is used to determine whether ply item and preview were downloaded or not.

    Declaration

    Swift

    public func isDownloaded() -> Bool