SaveFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum SaveFlags
[<System.Flags>]
type SaveFlags =
- Inheritance
-
SaveFlags
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | |
| SaveOnAllViewsInvisible | 1 | Usually, a save request is only automatically triggered once the Activity finishes. If this flag is set, it is triggered once all saved views become invisible. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| DontSaveOnFinish | 2 | By default, a save request is automatically triggered once the Activity finishes. If this flag is set, finishing the activity doesn't trigger a save request. This flag is typically used in conjunction with Builder.setTriggerId(AutofillId). Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| DelaySave | 4 | Postpone the autofill save UI. If flag is set, the autofill save UI is not triggered when the autofill context associated with the response associated with this SaveInfo is committed (with AutofillManager.commit()). Instead, the FillContext is delivered in future fill requests (with AutofillService.onFillRequest(FillRequest,android.os.CancellationSignal,FillCallback)) and save request (with AutofillService.onSaveRequest(SaveRequest,SaveCallback)) of an activity belonging to the same task. This flag should be used when the service detects that the application uses multiple screens to implement an autofillable workflow (for example, one screen for the username field, another for password). Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.