HostedFile.FileHost


public enum HostedFile.FileHost


An enum containing all known storage services.

Summary

Public fields

final String

Public methods

String

The content resolver authority.

boolean

True if writable location, false otherwise.

static HostedFile.FileHost

Returns the enum constant of this type with the specified name.

static HostedFile.FileHost[]

Returns an array containing the constants of this enum type, in the order they're declared.

Public fields

authority

public final String authority

Public methods

getAuthority

public String getAuthority()

The content resolver authority.

isWritable

public boolean isWritable()

True if writable location, false otherwise.

valueOf

public static HostedFile.FileHost valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
HostedFile.FileHost

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static HostedFile.FileHost[] values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
HostedFile.FileHost[]

an array containing the constants of this enum type, in the order they're declared