teotestbluetooth / TestTeoBluetooth / TestTeoBluetooth.Android / Connection / InternConnectionService.cs @ 91ef3e8c
Historique | Voir | Annoter | Télécharger (1,073 ko)
1 | 58c56df1 | 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 | 0875d625 | Martin Toutant | using System.Threading.Tasks; |
12 | 91ef3e8c | Martin Toutant | using TestXamConnections.Models; |
13 | using TestXamConnections.Connection; |
||
14 | 58c56df1 | Martin Toutant | |
15 | 91ef3e8c | Martin Toutant | namespace TestXamConnections.Droid.Connection |
16 | 58c56df1 | Martin Toutant | { |
17 | /* Classe permettant d'établir une avec une applications tiers |
||
18 | * Pré-installée sur l'appareil |
||
19 | * Basée sur filtrage d'intent sur BroadcastReceiver |
||
20 | */ |
||
21 | 91ef3e8c | Martin Toutant | public class InternConnectionService : IConnectionService |
22 | 58c56df1 | Martin Toutant | { |
23 | 91ef3e8c | Martin Toutant | public static readonly InternConnectionService Instance = new InternConnectionService(); |
24 | 0875d625 | Martin Toutant | public EventHandler<string> DataReceivedEvent { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } |
25 | |||
26 | public Task<bool> Connect(Device device) |
||
27 | { |
||
28 | throw new NotImplementedException(); |
||
29 | } |
||
30 | |||
31 | public Task<bool> SendCommand(byte[] hexValues) |
||
32 | { |
||
33 | throw new NotImplementedException(); |
||
34 | } |
||
35 | 58c56df1 | Martin Toutant | } |
36 | } |