track livephoto status
This commit is contained in:
@@ -87,7 +87,8 @@ data class PlatformAsset (
|
||||
val updatedAt: Long? = null,
|
||||
val width: Long? = null,
|
||||
val height: Long? = null,
|
||||
val durationInSeconds: Long
|
||||
val durationInSeconds: Long,
|
||||
val isLivePhoto: Boolean
|
||||
)
|
||||
{
|
||||
companion object {
|
||||
@@ -100,7 +101,8 @@ data class PlatformAsset (
|
||||
val width = pigeonVar_list[5] as Long?
|
||||
val height = pigeonVar_list[6] as Long?
|
||||
val durationInSeconds = pigeonVar_list[7] as Long
|
||||
return PlatformAsset(id, name, type, createdAt, updatedAt, width, height, durationInSeconds)
|
||||
val isLivePhoto = pigeonVar_list[8] as Boolean
|
||||
return PlatformAsset(id, name, type, createdAt, updatedAt, width, height, durationInSeconds, isLivePhoto)
|
||||
}
|
||||
}
|
||||
fun toList(): List<Any?> {
|
||||
@@ -113,6 +115,7 @@ data class PlatformAsset (
|
||||
width,
|
||||
height,
|
||||
durationInSeconds,
|
||||
isLivePhoto,
|
||||
)
|
||||
}
|
||||
override fun equals(other: Any?): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user