Send feedback
FirebaseAuth Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
UserProfileChangeRequest
class UserProfileChangeRequest : NSObject
Represents an object capable of updating a user’s profile data.
Properties are marked as being part of a profile update when they are set. Setting a
property value to nil is not the same as leaving the property unassigned.
The user’s display name.
It is an error to set this property after calling
commitChanges()
.
Declaration
Swift
var displayName : String ? { get set }
The user’s photo URL.
It is an error to set this property after calling
commitChanges()
.
Declaration
Swift
var photoURL : URL ? { get set }
Commits any pending changes.
This method should only be called once. Once called, property values should not be
changed.
Declaration
Swift
func commitChanges () async throws
Parameters
completion
Optionally; the block invoked when the user profile change has been applied.
Invoked asynchronously on the main thread in the future.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-12-05 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?