RemoveView

Removes a view.

bool RemoveView(View *view, ViewConfig *config, rte::Error *err);
Since
v4.5.0

After you call AddView to add a view, if you need to remove the view, you can call this method.

Call timing

Call this method after AddView.

Restrictions

Only one view can be removed at a time.

Parameters

view
View object to be removed.
config
The configuration of View object. Currently, you need to set it to null.
err
The state or error information: Error.

Returns

Whether the view is removed successfully:
  • true: The view is removed.
  • false: The view is not removed.