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

HostedFile.FileType

enum HostedFile.FileType


Enum used to indicate whether a file is a directory or regular file.

Summary

Enum Values

DIRECTORY
FILE

Public constructors

Public functions

java-static Any!
String!

Enum Values

DIRECTORY

val HostedFile.FileType.DIRECTORYHostedFile.FileType

FILE

val HostedFile.FileType.FILEHostedFile.FileType

Public constructors

FileType

FileType()

Public functions

fromTypeCode

java-static fun fromTypeCode(type: String!): Any!

getTypeCode

fun getTypeCode(): String!