Skip to main content
Version: 5.5.0

UpdateUserPictureUrl

Update User picture URL.

ServiceOperation
playerStateUPDATE_PICTURE_URL

Method Parameters

ParameterDescription
pictureUrlURL to apply

Usage

http://localhost:3000
string userPictureUrl = "someURL";
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.PlayerStateService.UpdateUserPictureUrl(userPictureUrl, successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": {
"playerPictureUrl": "https://some.domain.com/mypicture.jpg"
}
}