Package-level declarations
Types
Link copied to clipboard
abstract class DataClass<A : DataClassImpl, B : DataClassImpl, D : DataRoot<*>>(val displayName: String, val timestampMillis: Long, val imagePath: String, val kmzPath: String?, val location: GeoPoint?, val metadata: DataClassMetadata, val displayOptions: DataClassDisplayOptions) : DataClassImpl
The main data storage class.
Link copied to clipboard
Link copied to clipboard
data class DataClassDisplayOptions(@DrawableRes val placeholderDrawable: Int, @DrawableRes val errorPlaceholderDrawable: Int, val columns: Int, val vertical: Boolean, val showLocation: Boolean)
Stores the configuration in which the DataClass should be displayed.
Link copied to clipboard
open class DataClassImpl(val objectId: String, val namespace: Namespace, val timestampMillis: Long, val displayName: String) : Parcelable
Link copied to clipboard
Functions
Link copied to clipboard
inline suspend fun <A : DataClassImpl, R : Comparable<R>> String.getChildren(context: Context, namespace: Namespace, crossinline sortBy: (A) -> R?): List<A>?
Fetches all the children of the DataClass with the specified object id.