Class ImageLibraryItem
java.lang.Object
com.navmii.android.dashcamsdk.library.ImageLibraryItem
- All Implemented Interfaces:
LibraryItem
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(LibraryItemVisitor visitor) Allows the specified visitor to visit this item.static ImageLibraryItem.Builder
builder()
static ImageLibraryItem.Builder
builder
(ImageLibraryItem item) abstract Date
abstract Uri
abstract long
abstract String
abstract String
getId()
abstract LibraryItemLockState
abstract Uri
boolean
isLocked()
abstract ImageLibraryItem.Builder
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.navmii.android.dashcamsdk.library.LibraryItem
getSizeInPixels
-
Constructor Details
-
ImageLibraryItem
public ImageLibraryItem()
-
-
Method Details
-
builder
-
toBuilder
- Specified by:
toBuilder
in interfaceLibraryItem
- Returns:
- A builder instance with the same parameters.
-
getId
- Specified by:
getId
in interfaceLibraryItem
- Returns:
- The unique identifier for the item.
- See Also:
-
getDateCreated
- Specified by:
getDateCreated
in interfaceLibraryItem
- Returns:
- The date/time the item was created.
- See Also:
-
getFileSize
public abstract long getFileSize()- Specified by:
getFileSize
in interfaceLibraryItem
- Returns:
- The file size on disk of the file data in bytes.
- See Also:
-
isLocked
public boolean isLocked() -
getLockState
- Specified by:
getLockState
in interfaceLibraryItem
- Returns:
- The lock state of the item.
- See Also:
-
getFileDataUri
- Specified by:
getFileDataUri
in interfaceLibraryItem
- Returns:
- Uri of the video/image data.
- See Also:
-
getFileType
- Specified by:
getFileType
in interfaceLibraryItem
- Returns:
- The MIME type of file (video/image).
- See Also:
-
getThumbnailDataUri
- Specified by:
getThumbnailDataUri
in interfaceLibraryItem
- Returns:
- A Uri of the thumbnail for the video/image.
- See Also:
-