1. Push uygulamasında login olunan üyelerin direkt olarak Euromessage üye paneline aktarılması
...
|
Veri Tipi | Değişken | Açıklama |
---|---|---|
String | mediaUrl | URL for images and video |
String | altUrl | Alternate URL |
String | campaignId | Campaign ID |
String | url | Campaign URL |
String | message | Message |
String | sound | Sound file |
PushType | pushType | Push Type |
Map<String, String> | params | Custom parameters |
...
EUROMESSAGE SDK METHODLAR
1. Token Ekleme
Method | Açıklaması |
---|---|
subscibe(String token, Context context) | Token'ı euromessage servislerine gönderen method |
2.Kullanıcı Özelleştirme ile ilgili Methodlar
Method | Açıklaması |
---|---|
setEmail(String email, Context context) | E-mail’i anonim kullanıcıya atar |
setEuroUserId(String userKey, Context context) | Id’yi anonim kullanıcıya atar |
setFacebook(String facebookId, Context context) | Facebook id’yi kullanıcıya atar |
setTwitterId(String twitterId, Context context) | Twitter id'yi kullanıcıya atar |
setPhoneNumber(String msisdn, Context context) | Telefon numarasını kullanıcıya atar |
setLocation(double latitute, double longitude, Context context) | Lokasyon’u kullanıcıya atar |
setAppVersion(String appVersion) | App versiyonu kullanıcıya atar |
setUserProperty(String key, String value, Context context) | Özel parametreleri kullanıcıya atar (RMC ekibiyle iletişime geçiniz) |
*sync(Context context) | Kullanıcıya atılan bilgileri token ile eşleştirir. |
* Yukarıdaki tanımlamalardan herhangi birini yaptıktan sonra çağrılması zorunludur.
3. SDK Özelleştirme ile ilgili methodlar
Method | Açıklaması |
---|---|
reportRead(Bundle bundle) | |
setChannelName(String channelName, Context context) | |
setNotificationColor(String) | |
setNotificationTransparentSmallIcon(int transparentSmallIcon, Context context) | |
setPushIntent(String intentStr, Context context) | |
setPushPermit(PushPermit pushPermit, Context context) | |
setEmailPermit(EmailPermit emailPermit, Context context) | |
setGsmPermit(GsmPermit gsmPermit, Context context) | |
removePushIntent(Context context) | |
removeChannelName(Context context) | |
removeIntentExtra(Context context) | |
removeNotificationColor(Context context) | |
removeNotificationTransparentSmallIcon(Context context) | |
removeUserProperties(Context context) | |
getCarousel(Intent intent) | |
getNotification(Intent intent) |
...