Applicasa.PushNotification.pullMessage C# (CSharp) Method

pullMessage() public static method

public static pullMessage ( int position ) : PushNotification
position int
return PushNotification
        public static PushNotification pullMessage(int position)
        {
            PushNotification push = new PushNotification();
            push.message = NotificationServices.GetRemoteNotification(position).alertBody;
            push.sound = NotificationServices.GetRemoteNotification(position).soundName;
            push.tag = NotificationServices.GetRemoteNotification(position).userInfo.ToString();
            push.userInfo = NotificationServices.GetRemoteNotification(position).userInfo;
            return push;
            //NotificationServices.GetRemoteNotification(position).alertBody;
        }