addPage abstract method
Add new page to the end.
Parameter autoSwitch
Auto switch to the new page.
Returns
- ResultCode.OK Success
- others: Failure
添加一个新页面到最后。
Parameter autoSwitch
自动切换到新添加的页面。
Returns
- ResultCode.OK 成功
- 其他: 失败
Implementation
Future<ResultCode> addPage(bool autoSwitch);