| type | string | Yes | Event type. The value is fixed at **'waterMarkFlagChange'**, indicating the watermark flag status change event. |
| callback | Callback<boolean> | Yes | Callback used to return the watermark flag status. The value **true** means that the watermark is currently enabled, and **false** means that the watermark is changed to disabled.|
**Error codes**
For details about the error codes, see [Window Error Codes](../errorcodes/errorcode-window.md).
| type | string | Yes| Event type. The value is fixed at **'waterMarkFlagChange'**, indicating the watermark flag status change event.|
| callback | Callback<boolean> | No| Callback function that has been used for registering the listener. If a value is passed in, the corresponding subscription is canceled. If no value is passed in, all subscriptions to the specified event are canceled.|
**Error codes**
For details about the error codes, see [Window Error Codes](../errorcodes/errorcode-window.md).
| enable | boolean | Yes | Whether to enable gesture navigation. The value **true** means to enable gesture navigation, and **false** means the opposite.|
| callback | AsyncCallback<void> | Yes | Callback used to return the result.|
**Error codes**
For details about the error codes, see [Window Error Codes](../errorcodes/errorcode-window.md).