Ejemplo n.º 1
0
	private void Local() {
		//LastNotificationId = AndroidNotificationManager.instance.ScheduleLocalNotification("Hello", "This is local notification", 5);

		AndroidNotificationBuilder builder = new AndroidNotificationBuilder(SA_IdFactory.NextId,
		                                                                    "Local Notification Title",
		                                                                    "Big Picture Style Notification for AndroidNative Preview",
		                                                                    3);
		builder.SetBigPicture (bigPicture);
		AndroidNotificationManager.Instance.ScheduleLocalNotification(builder);
	}
Ejemplo n.º 2
0
    private void Local()
    {
        AndroidNotificationBuilder builder = new AndroidNotificationBuilder(SA.Common.Util.IdFactory.NextId,
                                                                            "Local Notification Title",
                                                                            "This is local notification",
                                                                            10);

        builder.SetBigPicture(bigPicture);
        AndroidNotificationManager.Instance.ScheduleLocalNotification(builder);
    }
Ejemplo n.º 3
0
    private void Local()
    {
        //LastNotificationId = AndroidNotificationManager.instance.ScheduleLocalNotification("Hello", "This is local notification", 5);

        AndroidNotificationBuilder builder = new AndroidNotificationBuilder(SA_IdFactory.NextId,
                                                                            "Local Notification Title",
                                                                            "Big Picture Style Notification for AndroidNative Preview",
                                                                            3);

        builder.SetBigPicture(bigPicture);
        AndroidNotificationManager.Instance.ScheduleLocalNotification(builder);
    }
Ejemplo n.º 4
0
	private void Local(int time) {
		//LastNotificationId = AndroidNotificationManager.instance.ScheduleLocalNotification("Hello", "This is local notification", 5);
		
		AndroidNotificationBuilder builder = new AndroidNotificationBuilder(SA_IdFactory.NextId,
		                                                                    "Zombie Cross",
		                                                                    "You have now 20 lives, go to kill zombies",
		                                                                    time);
		//bigPicture = (Texture2D)Resources.Load("images/logoplaystore.png", typeof(Texture2D));
		//(GameObject)Resources.Load("prefabs/CFXM2_Soul", typeof(GameObject));
		builder.SetBigPicture (bigPicture);
		AndroidNotificationManager.Instance.ScheduleLocalNotification(builder);
		//AndroidNotificationManager.Instance.ScheduleLocalNotification("Zombie Cross","You have now 20 lives, go to kill zombies",time);
	}