WriteFileOptions

BFChainAugust 11, 2023
  • Interface
  • WriteFileOptions
Less than 1 minute

Parameter interface for FileSystemPlugin.writeFile() function;

Property

  • path

    the path to write to the file; The type of attribute value is string;

  • data

    the body of data written to the file; The type of attribute value is string;

  • directory

    optional attributes; Write to the directory where the file is located; The type of attribute value is Directory;

  • encoding

    optional attributes; The code that will definitely write the data; The default is base64 encoding; The type of attribute value is Encoding;

  • recursive

    optional attributes; Whether to recursively create parent-level directories; The default is false; The type of attribute value is boolean;

Method

  • none

Event

  • none

Platform Compatibility

Property/Method/EventAndroidIOSDesktop-DevDesktop
pathX
dataX
directoryX
encodingX
recursiveX

FileSystemPlugin

FileSystemPlugin.writeFile()

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.13.0