IamUtil.UpdateUserFcmAsync()
DESCRIPTION
Update a user’s FCM settings.
DECLARATION
System.Threading.Tasks.Task UpdateUserFcmAsync(Nabto.Edge.Client.IConnection, System.String, System.String, System.String)
PARAMETERS
-
connection
: An established connection to the device -
username
: The username for the user to be updated -
fcmProjectId
: FCM project id as per Firebase configuration data, see the FCM intro -
fcmToken
: FCM registration token specific for this use, see the FCM intro
ERRORS
-
T:Nabto.Edge.ClientIam.IamException
: Thrown with Nabto.Edge.ClientIam.IamError if the user does not exist on the device. -
T:Nabto.Edge.ClientIam.IamException
: Thrown with Nabto.Edge.ClientIam.IamError if the user is not allowed to perform this operation.