{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

HostedFile.FileHost

enum HostedFile.FileHost


An enum containing all known storage services.

Summary

Enum Values

EXPORT_PROPERTIES
INTERNAL_USE_ONLY
OUTPUT
TEST_FILE

Public constructors

Public functions

String!

The content resolver authority.

Boolean

True if writable location, false otherwise.

Enum Values

EXPORT_PROPERTIES

val HostedFile.FileHost.EXPORT_PROPERTIESHostedFile.FileHost

INTERNAL_USE_ONLY

val HostedFile.FileHost.INTERNAL_USE_ONLYHostedFile.FileHost

OUTPUT

val HostedFile.FileHost.OUTPUTHostedFile.FileHost

TEST_FILE

val HostedFile.FileHost.TEST_FILEHostedFile.FileHost

Public constructors

FileHost

FileHost()

Public functions

getAuthority

fun getAuthority(): String!

The content resolver authority.

isWritable

fun isWritable(): Boolean

True if writable location, false otherwise.