mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-06-22 05:47:28 +02:00
Version 3.0.376
This commit is contained in:
parent
ca080c87c0
commit
f963c0a219
158 changed files with 3228 additions and 1279 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="internalOnly" package="com.TeilRad.Meinkonrad" android:versionName="3.0.375" android:versionCode="375">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="internalOnly" package="com.TeilRad.Meinkonrad" android:versionName="3.0.376" android:versionCode="376">
|
||||
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="33" />
|
||||
<!-- Google Maps related permissions -->
|
||||
<!-- Permission to receive remote notifications from Google Play Services -->
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace TINK.Droid
|
|||
{
|
||||
|
||||
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "13.2.1.111")]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "13.2.2.120")]
|
||||
public partial class Resource
|
||||
{
|
||||
|
||||
|
|
|
@ -1,104 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
using Android.App;
|
||||
using Android.Content;
|
||||
using Android.OS;
|
||||
using Android.Runtime;
|
||||
using Android.Views;
|
||||
using Android.Widget;
|
||||
#if ARENDI
|
||||
using Arendi.BleLibrary;
|
||||
using Arendi.BleLibrary.Adapter;
|
||||
using Arendi.BleLibrary.Android;
|
||||
using Arendi.BleLibrary.Local;
|
||||
using Arendi.BleLibrary.Remote;
|
||||
#endif
|
||||
using Xamarin.Forms;
|
||||
|
||||
[assembly: Dependency(typeof(TINK.Droid.Services.BluetoothLock.Arendi.Central))]
|
||||
namespace TINK.Droid.Services.BluetoothLock.Arendi
|
||||
{
|
||||
#if ARENDI
|
||||
public class Central : ICentral
|
||||
#else
|
||||
public class Central
|
||||
#endif
|
||||
{
|
||||
#if ARENDI
|
||||
private bool disposedValue;
|
||||
|
||||
private static ICentral central = CentralFactory.GetCentral();
|
||||
|
||||
public global::Arendi.BleLibrary.Adapter.IAdapter Adapter => throw new NotImplementedException();
|
||||
|
||||
public BluetoothState BluetoothState => throw new NotImplementedException();
|
||||
|
||||
public ISecurityManager SecurityManager => throw new NotImplementedException();
|
||||
|
||||
public IBondManager BondManager => throw new NotImplementedException();
|
||||
|
||||
public IDictionary<string, string> SystemInformation => throw new NotImplementedException();
|
||||
|
||||
public event EventHandler<PeripheralDiscoveredEventArgs> PeripheralDiscovered;
|
||||
public event EventHandler<BluetoothStateChangedEventArgs> BluetoothStateChanged;
|
||||
public event EventHandler<EventArgs> SystemInformationUpdated;
|
||||
public event EventHandler<FatalErrorEventArgs> FatalError;
|
||||
|
||||
public IPeripheral CreatePeripheralByUuid(Uuid uuid, string name = null)
|
||||
=> central.CreatePeripheralByUuid(uuid, name);
|
||||
|
||||
public bool IsEnabled()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void StartScan()
|
||||
=> central.StartScan();
|
||||
|
||||
public void StartScan(string[] uuids)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void StartScan(Uuid[] uuids)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public void StopScan()
|
||||
=> central.StopScan();
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
if (!disposedValue)
|
||||
{
|
||||
if (disposing)
|
||||
{
|
||||
// TODO: dispose managed state (managed objects)
|
||||
}
|
||||
|
||||
// TODO: free unmanaged resources (unmanaged objects) and override finalizer
|
||||
// TODO: set large fields to null
|
||||
disposedValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
// // TODO: override finalizer only if 'Dispose(bool disposing)' has code to free unmanaged resources
|
||||
// ~Central()
|
||||
// {
|
||||
// // Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method
|
||||
// Dispose(disposing: false);
|
||||
// }
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
// Do not change this code. Put cleanup code in 'Dispose(bool disposing)' method
|
||||
Dispose(disposing: true);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue