teotestbluetooth / TestXamConnections / TestXamConnections.Android / Receivers / IntentReceiver.cs @ 28e2e227
Historique | Voir | Annoter | Télécharger (558 octets)
1 | 1fd64302 | Martin Toutant | using Android.App; |
---|---|---|---|
2 | using Android.Content; |
||
3 | using Android.OS; |
||
4 | using Android.Runtime; |
||
5 | using Android.Views; |
||
6 | using Android.Widget; |
||
7 | using System; |
||
8 | using System.Collections.Generic; |
||
9 | using System.Linq; |
||
10 | using System.Text; |
||
11 | d752dab7 | Martin Toutant | using TestXamConnections.Models; |
12 | 1fd64302 | Martin Toutant | |
13 | namespace TestXamConnections.Droid.Receivers |
||
14 | { |
||
15 | public class IntentReceiver : BroadcastReceiver |
||
16 | { |
||
17 | d752dab7 | Martin Toutant | public EventHandler<Intent> OnIntentReceived; |
18 | 1fd64302 | Martin Toutant | |
19 | public override void OnReceive(Context context, Intent intent) |
||
20 | { |
||
21 | be694ed4 | Martin Toutant | OnIntentReceived.Invoke(this, intent); |
22 | 1fd64302 | Martin Toutant | } |
23 | } |
||
24 | } |