YourOwnIntegration

If you are integrating the SDK with your own solution and have a reliable way to identify the user, you can use CustomClientId to pass a trusted identifier to the SDK.

Usage

First, you must create a CustomClientId class by passing a string with the user’s ID into the constructor

CustomClientId customClientId = new CustomClientId("cliendId");

You pass it to the SDK as a string, and on the SDK side this string will be encoded and deterministically converted into a UUID v5, which makes it possible to consistently identify the same client across launches.

After that, you need to pass a reference to CustomClientId when creating the MagifyServiceArgs class, which will later be provided during MagifyService initialization.

MagifyServiceArgs magifyServiceArgs = new MagifyServiceArgs
{
    CustomClientId = customClientId,
    ...
};

Related articles

Products

IMinimalAdsMediator

MagifyManager․GameState

NetworkStatus

Introduction

ExternalLinkProduct