Exemplo n.º 1
0
        public static void GetUserAttributes(List <string> attributeKeys, AdobeGetUserAttributesCallback callback)
        {
            if (callback == null)
            {
                Debug.Log("Failed to perform GetUserAttributes, callback is null");
                return;
            }

            #if UNITY_IPHONE && !UNITY_EDITOR
            acp_GetUserAttributes(ACPUserProfileHelpers.JsonStringFromStringList(attributeKeys), callback);
            #elif UNITY_ANDROID && !UNITY_EDITOR
            userProfile.CallStatic("getUserAttributes", ACPUserProfileHelpers.GetListFromList(attributeKeys), new GetUserAttributesCallback(callback));
            #endif
        }
Exemplo n.º 2
0
 private static extern void acp_GetUserAttributes(string attributeKeys, AdobeGetUserAttributesCallback callback);
Exemplo n.º 3
0
 public GetUserAttributesCallback(AdobeGetUserAttributesCallback callback) : base("com.adobe.marketing.mobile.AdobeCallback")
 {
     redirectedDelegate = callback;
 }