Skip to main content

Reference / Modules / client-expo / ExpoFile

Class: ExpoFile

client-expo.ExpoFile

Hierarchy​

  • File

    ↳ ExpoFile

Table of contents​

Constructors​

Properties​

Methods​

Constructors​

constructor​

• new ExpoFile(uri, name, mimeType): ExpoFile

Parameters​

NameType
uristring
namestring
mimeTypeMimeType

Returns​

ExpoFile

Overrides​

File.constructor

Defined in​

client-expo/src/index.ts:22

Properties​

mimeType​

• Readonly mimeType: MimeType

Inherited from​

File.mimeType

Defined in​

client/dist/ComponentFactory.d.ts:16


name​

• Readonly name: string

Inherited from​

File.name

Defined in​

client/dist/ComponentFactory.d.ts:15


uri​

• Private uri: string

Defined in​

client-expo/src/index.ts:27

Methods​

getHashAndSize​

▸ getHashAndSize(): Promise<HashAndSize>

Returns​

Promise<HashAndSize>

Overrides​

File.getHashAndSize

Defined in​

client-expo/src/index.ts:29


getPath​

▸ getPath(): string

Returns​

string

Defined in​

client-expo/src/index.ts:44