getMoEngageDeviceId

Fetches unique ID generated by the MoEngage SDK.

Sample Usage

 MoECoreHelper.getMoEngageDeviceId(context) { userInformation ->
// use userInformation.uniqueId to access the moengage device id
}

Return

returns device id generated by the MoEngage SDK

Since

12.7.00

Parameters

context

instance of Context

listener

Throws

if the SDK is not initialized


Fetches unique ID generated by the MoEngage SDK.

Sample Usage

 MoECoreHelper.getMoEngageDeviceId(context, appId) { userInformation ->
// use userInformation.uniqueId to access the moengage device id
}

Return

returns device id generated by the MoEngage SDK

Since

12.7.00

Parameters

context

instance of Context

appId

your app ID

listener

Throws

if the SDK is not initialised