Skip to main content
Version: SDK-5.11.6

UpdateCountryCode

public BackendReturnObject UpdateCountryCode(CountryCode code);

Parameter

ValueTypeDescription
codeCountryCodeCountry code provided by BACKND

Description

The user's country code is registered.

Information

For more information on CountryCode, refer to this link.

Example

Synchronous

Backend.BMember.UpdateCountryCode(CountryCode.SouthKorea);

Asynchronous

Backend.BMember.UpdateCountryCode(CountryCode.SouthKorea, callback =>
{
// Post-process
});

SendQueue

SendQueue.Enqueue(Backend.BMember.UpdateCountryCode, CountryCode.SouthKorea, callback =>
{
// Post-process
});

Return cases

Success cases

When registration is successful
statusCode : 204
message : Success