Adjoe.Init(string, Action, Action<Exception>)
when your app is starting. Action
parameters which you pass.Adjoe.Init
will immediately invoke the error callback until your app is removed from the heap.OnApplicationPause
method.Adjoe.Init(string)
or Adjoe.Init(string, Action, Action<Exception>)
instead.Adjoe.Init(string)
or Adjoe.Init(string, AdjoeOptions)
instead.Adjoe.Init(string)
or Adjoe.Init(string, AdjoeOptions)
instead.AdjoeOptions
object in the following way:Adjoe.GetUserId()
.IsInitialized
methodAdjoe.IsInitialized()
. This will return true
if the SDK is initialized and false
otherwise. However, you should not condition calling Init
on the result of IsInitialized
because the SDK will do some checks on its own. You should not do something like the following as it can lead to bad user experience:Init
without checking for IsInitialized
. You can however use IsInitialized
e.g. for debugging or to check whether the SDK is initialized before calling other methods of the SDK like RequestRewards
.