Skip to content

ShareReceiver

Defined in: src/obsidian/internals/ShareReceiver.d.ts:5

Properties

app

app: App

Defined in: src/obsidian/internals/ShareReceiver.d.ts:6

Methods

handleShareFiles()

handleShareFiles(files): Promise<void>

Defined in: src/obsidian/internals/ShareReceiver.d.ts:13

Handles shared files.

Parameters

files

SharedFile[]

Shared files

Returns

Promise<void>


handleShareText()

handleShareText(text): Promise<void>

Defined in: src/obsidian/internals/ShareReceiver.d.ts:19

Handles shared text.

Parameters

text

string

Shared text

Returns

Promise<void>


importFiles()

importFiles(files): Promise<void>

Defined in: src/obsidian/internals/ShareReceiver.d.ts:25

Imports shared files.

Parameters

files

SharedFile[]

Shared files

Returns

Promise<void>


setupNative()

setupNative(): void

Defined in: src/obsidian/internals/ShareReceiver.d.ts:29

Configures mobile native events to handle file and text sharing.

Returns

void


setupWorkspace()

setupWorkspace(): void

Defined in: src/obsidian/internals/ShareReceiver.d.ts:33

Configures the workspace to handle file and text sharing.

Returns

void