Package | com.nativeExtensions.saf |
Class | public class DocumentEvent |
Inheritance | DocumentEvent ![]() |
Property | Defined By | ||
---|---|---|---|
bookmarkData : String
Security-scoped bookmark data (iOS only). | DocumentEvent | ||
bytes : ByteArray | DocumentEvent | ||
content : String | DocumentEvent | ||
file : File
iOS File property. | DocumentEvent | ||
index : int
Index of files using SAF read multiple. | DocumentEvent | ||
isImport : Boolean
iOS property dispatched when reading or editing is canceled. | DocumentEvent | ||
length : int
Number of files using SAF read multiple. | DocumentEvent | ||
uri : String | DocumentEvent |
Method | Defined By | ||
---|---|---|---|
DocumentEvent(type:String, uri:String, content:String, bytes:ByteArray, file:File, isImport:Boolean, index:int = 0, length:int = 1, bookmarkData:String = null, bubbles:Boolean = false, cancelable:Boolean = false) | DocumentEvent |
Constant | Defined By | ||
---|---|---|---|
CANCEL : String = cancel [static]
Dispatched when SAF is canceled. | DocumentEvent | ||
DELETE : String = delete [static]
Dispatched when a file or a directory is deleted. | DocumentEvent | ||
EDIT : String = edit [static]
Dispatched when SAF create or edit file. | DocumentEvent | ||
READ : String = read [static]
Dispatched when SAF get a file text content or an Uri. | DocumentEvent | ||
READ_BYTES : String = readBytes [static]
Dispatched when SAF get a file content. | DocumentEvent |
bookmarkData | property |
public var bookmarkData:String
Security-scoped bookmark data (iOS only).
bytes | property |
public var bytes:ByteArray
content | property |
public var content:String
file | property |
public var file:File
iOS File property.
index | property |
public var index:int
Index of files using SAF read multiple.
isImport | property |
public var isImport:Boolean
iOS property dispatched when reading or editing is canceled.
length | property |
public var length:int
Number of files using SAF read multiple.
uri | property |
public var uri:String
DocumentEvent | () | Constructor |
public function DocumentEvent(type:String, uri:String, content:String, bytes:ByteArray, file:File, isImport:Boolean, index:int = 0, length:int = 1, bookmarkData:String = null, bubbles:Boolean = false, cancelable:Boolean = false)
type:String | |
uri:String | |
content:String | |
bytes:ByteArray | |
file:File | |
isImport:Boolean | |
index:int (default = 0 )
| |
length:int (default = 1 )
| |
bookmarkData:String (default = null )
| |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
|
CANCEL | Constant |
public static const CANCEL:String = cancel
Dispatched when SAF is canceled.
DELETE | Constant |
public static const DELETE:String = delete
Dispatched when a file or a directory is deleted.
EDIT | Constant |
public static const EDIT:String = edit
Dispatched when SAF create or edit file.
READ | Constant |
public static const READ:String = read
Dispatched when SAF get a file text content or an Uri.
READ_BYTES | Constant |
public static const READ_BYTES:String = readBytes
Dispatched when SAF get a file content.