Back to API Reference
Enum

EditingEndReason

How an editing session concluded, carried by Defocused. Integrators switch on it to tell an accepted edit from an abandoned one without correlating Submitted and Cancelled against the end of the session themselves.

public static readonly EditingEndReason Dismissed = 0

Focus left without a verdict on the content: another field took focus, the pointer landed elsewhere, the platform dismissed the keyboard, or the session was closed programmatically. The text stands as edited.

public static readonly EditingEndReason Committed = 1

The user accepted the content and the session ended on that submission.

public static readonly EditingEndReason Cancelled = 2

The user abandoned the edit and the session ended on that cancellation.