Person

data class Person(val id: Long, val name: String?, val hidden: Boolean, val mediaIds: Set<Long>, val faceCount: Int, val coverMediaId: Long, val coverBox: List<Float>, val coverFaceId: Long, val coverInVideo: Boolean)(source)

A person as the People row and their album show them: name (null until named), the photos they're in, and the face to show for them (their biggest, so the sharpest).

Constructors

Link copied to clipboard
constructor(id: Long, name: String?, hidden: Boolean, mediaIds: Set<Long>, faceCount: Int, coverMediaId: Long, coverBox: List<Float>, coverFaceId: Long, coverInVideo: Boolean)

Properties

Link copied to clipboard

The cover face's box, fractions of its photo: left, top, right, bottom.

Link copied to clipboard
Link copied to clipboard

The cover is a video's face: shown from its saved crop (FaceStore.crop), not the video's thumbnail.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Long
Link copied to clipboard
Link copied to clipboard
val name: String?