Reference API Roblox

Engine API

Website

Related

Reference API Roblox

AvatarPromptResult

The result of prompt operations of AvatarEditorService.

Items 3

HistoryNameValueDescription
454Success1

The prompted action was completed.

454PermissionDenied2

Denied permission to take the prompted action.

454Failed3

Failure while trying to take the prompted action.

Description

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).

History 9

Settings