class IRemoteViewTextWatcher
@Keep interface IRemoteViewTextWatcher
|
| Package: | dji.open.pilot.base.ui |
Description:
View text change listener.
Supported since MSDK 5.20.1
Class Members:
method beforeTextChanged
fun beforeTextChanged(s: String, start: Int, count: Int, after: Int)
|
| Package: | dji.open.pilot.base.ui |
Description:
Triggered before the text is changed.
Supported since MSDK 5.20.1
| String s | The complete text content before the change. |
| Int start | The starting position of the change (0-based index). |
| Int count | The number of characters to be replaced. |
| Int after | The number of newly inserted characters. |
method onTextChanged
fun onTextChanged(s: String, start: Int, before: Int, count: Int)
|
| Package: | dji.open.pilot.base.ui |
Description:
Triggered when the text is changed.
Supported since MSDK 5.20.1
| String s | The complete text content after the change. |
| Int start | The starting position of the change (0-based index). |
| Int before | The number of original characters replaced. |
| Int count | The number of newly inserted characters. |
method afterTextChanged
fun afterTextChanged(s: String)
|
| Package: | dji.open.pilot.base.ui |
Description:
Triggered after the text change is completed.
Supported since MSDK 5.20.1
| String s | The final effective complete text content. |