Enum
AvatarPromptResult
The result of prompt operations of AvatarEditorService.
Indicates the outcome of a prompt operation initiated by
AvatarEditorService. Each Prompt method on the service (such as
AvatarEditorService:PromptSaveAvatar(),
AvatarEditorService:PromptSetFavorite(), and
AvatarEditorService:PromptCreateOutfit()) displays a native dialog to
the user and fires a corresponding Completed event that passes this enum as
its result parameter.
- Success — the user confirmed the prompt and the back-end request completed without error.
- PermissionDenied — the user dismissed the prompt or otherwise declined to grant the requested permission.
- Failed — an error occurred while processing the request (for example, a network failure or an invalid response from the server).
Items 3#
| Name | Value | Summary |
|---|---|---|
Success | 1 | The prompted action was completed. |
PermissionDenied | 2 | Denied permission to take the prompted action. |
Failed | 3 | Failure while trying to take the prompted action. |