StorageDomain.BinaryFile


class StorageDomain.BinaryFile : StorageDomain


Targets local raw binary files stored within internal app storage.

Summary

Public constructors

BinaryFile(path: String, content: ByteArray)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

ByteArray

The raw byte array content of the file.

String

The relative path of the file inside the app sandbox (e.g. "files/my_image.png").

Public constructors

BinaryFile

Added in 1.0.0-alpha01
BinaryFile(path: String, content: ByteArray)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

content

Added in 1.0.0-alpha01
val contentByteArray

The raw byte array content of the file.

path

Added in 1.0.0-alpha01
val pathString

The relative path of the file inside the app sandbox (e.g. "files/my_image.png").