๐Ÿ’Ž Obsidian Developer Docs

Home

โฏ

Reference

โฏ

TypeScript API

โฏ

CapacitorAdapter

CapacitorAdapter

2025๋…„ 6์›” 29์ผ1 min read

CapacitorAdapter

CapacitorAdapter class

Implementation of the vault adapter for mobile devices.

Signature:

export class CapacitorAdapter implements DataAdapter 

Implements: DataAdapter

Methods

MethodModifiersDescription
append(normalizedPath, data, options)
copy(normalizedPath, normalizedNewPath)
exists(normalizedPath, sensitive)
getFullPath(normalizedPath)
getName()
getResourcePath(normalizedPath)
list(normalizedPath)
mkdir(normalizedPath)
process(normalizedPath, fn, options)
read(normalizedPath)
readBinary(normalizedPath)
remove(normalizedPath)
rename(normalizedPath, normalizedNewPath)
rmdir(normalizedPath, recursive)
stat(normalizedPath)
trashLocal(normalizedPath)
trashSystem(normalizedPath)
write(normalizedPath, data, options)
writeBinary(normalizedPath, data, options)

๊ทธ๋ž˜ํ”„ ๋ทฐ

  • CapacitorAdapter class
  • Methods

๋ฐฑ๋งํฌ

  • CapacitorAdapter
  • append
  • copy
  • exists
  • getFullPath
  • getName
  • getResourcePath
  • list
  • mkdir
  • process
  • read
  • readBinary
  • remove
  • rename
  • rmdir
  • stat
  • trashLocal
  • trashSystem
  • write
  • writeBinary
  • index

Created with Quartz v4.5.1 ยฉ 2025

  • GitHub
  • Discord Community