Exemple #1
0
        private void IntentRecievedByApp(object sender, IntentEventArgs e)
        {
            Toast toast = Toast.MakeText(this, String.Format("Subscriber App Recieved {0} : {1}", e.publisherApplication, e.publisherApplicationData), ToastLength.Short);

            toast.Show();
            Console.WriteLine("Subscriber App Recieved {0} : {1}", e.publisherApplication, e.publisherApplicationData);
        }
Exemple #2
0
        protected virtual void OnIntentReceived(string pubApp, string pubAppData)
        {
            var intentEventArgs = new IntentEventArgs {
                publisherApplication = pubApp, publisherApplicationData = pubAppData
            };

            IntentReceived?.Invoke(this, intentEventArgs);
        }
Exemple #3
0
 private void IntentReceived(object sender, IntentEventArgs e)
 {
     Console.WriteLine("Subscriber : Intent Recieved.....{0} - {1}", e.publisherApplication, e.publisherApplicationData);
     IntentReceivedBySub?.Invoke(this, e);
 }