Constructor
# new WriteThruOptions(mode, providerName)
Initialized a new instance of WriteThruOptions.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
mode |
WriteMode | Specifies WriteMode for write-through options |
|
providerName |
string | null | Specifies the unique identifier for the data source provider |
Methods
# getMode() → {WriteMode}
Gets WriteMode for write-through options.
Returns:
- Type
- WriteMode
# getProviderName() → {string}
Gets the unique identifier for the data source provider.
Returns:
- Type
- string
# setDataSourceModificationListener(listener, eventType)
Set data source modified notification for write-through options.
Parameters:
Name | Type | Description |
---|---|---|
listener |
DataSourceModifiedListener | A delegate that is called when item is added to data source. |
eventType |
number | EventType specifies the type of event to be registered. |
# setMode(value)
Sets WriteMode for write-through options.
Parameters:
Name | Type | Description |
---|---|---|
value |
WriteMode | Specifies WriteMode for write-through options |