GenerateAnonymousId
Generates a GUID for use as an anonymous installation ID for brainCloud. Normally only called once when the application starts for the first time.
The generated ID is used in conjunction with InitializeIdentity
in the BrainCloudClient.
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
string anonId = _bc.AuthenticationService.GenerateAnonymousId();
std::string anonId = _bc->getAuthenticationService()->generateAnonymousId();
NSString * anonId = [[_bc authenticationService] generateAnonymousId];
String anonId = _bc.getAuthenticationService().generateAnonymousId();
var anonId = _bc.authentication.generateAnonymousId();
var anonId = _bc.authentication.generateAnonymousId();
// N/A
// N/A