StorageDomain.TextFile


class StorageDomain.TextFile : StorageDomain


Targets local raw text files stored within internal app storage.

Summary

Public constructors

TextFile(path: String, content: String)

Public functions

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

Public properties

String

The string content of the file.

String

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

Public constructors

TextFile

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

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 contentString

The string 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_data.txt").