Platforms to show: All Mac Windows Linux Cross-Platform
Back to DCDeviceMBS class.
DCDeviceMBS.GenerateTokenCompletedMBS(token as MemoryBlock, Error as NSErrorMBS, Tag as Variant)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
delegate | System | MBS iOS Plugin | 23.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
token: An ephemeral token that identifies the current device.
error: The error that occurred, if any.
Your server uses the generated token in its requests to get or set the persistent bits for the current device. You should treat the token you receive in the completion block as single-use. Although the token remains valid long enough for your server to retry a specific request if necessary, you should not use a token multiple times. Instead, use this method to generate a new token.
The app you use to generate the token must be associated with your developer account; otherwise, the generation request fails.
Some methods using this delegate:
- DCDeviceMBS.generateToken(CompleteHandler as GenerateTokenCompletedMBS, tag as variant = nil)
The items on this page are in the following plugins: MBS iOS Plugin.