Esempio n. 1
0
 public void NotificationBigImage()
 {
     NotificationManager.Builder notfi = new NotificationManager.Builder();
     notfi.Create(notifyManager, "notification_0")
     .setContentTitle("Android Native Core")
     .setContentText("this notification with bigImage")
     .setAutoCansel(true)
     .setIcon("android_native_core")
     .setSound("notification_sound")
     .setGroup("Samples", true)
     .setPriority(NotificationManager.PRIORITY_MAX)
     .setGroup("GreatDeals", true)
     .setBigImage(NotifiBigIcon)
     .notify(1);
 }
Esempio n. 2
0
 public void NotificationBigUrl()
 {
     Debug.Log(channel.id);
     inputFieldObject.SetActive(false);
     NotificationManager.Builder notificationBuilder = new NotificationManager.Builder();
     notificationBuilder.Create(notifyManager, "notification_0")
     .setIcon("android_native_core")
     .setContentTitle("Android Native Core")
     .setBigText("this is notification image from url")
     .setDefautlSound()
     .setAutoCansel(true)
     .setPriority(NotificationManager.PRIORITY_MAX)
     .setGroup("GreatDeals", true)
     .setBigImage(url.text)
     .notify(2);
 }