/// <summary>
/// Creates the Bluetooth GATT client.
/// </summary>
+ /// <param name="remoteAddress">The remote device address.</param>
/// <returns>The BluetoothGattClient instance.</returns>
/// <feature>http://tizen.org/feature/network.bluetooth.le.gatt.client</feature>
/// <exception cref="NotSupportedException">Thrown when the BT/BTLE is not supported.</exception>
/// Destroy Bluetooth GATT client
/// </summary>
/// <since_tizen> 3 </since_tizen>
+ [Obsolete("Deprecated since API level 6. Please use Dispose() method on BluetoothGattClient.")]
public void DestroyClient()
{
_impl.GetHandle().Dispose();
/// This event is called when the GATT client connects/disconnects with the server.
/// </summary>
/// <since_tizen> 3 </since_tizen>
+ [Obsolete("Deprecated since API level 6. Please use ConnectionStateChanged event on BluetoothGattClient.")]
public event EventHandler<GattConnectionStateChangedEventArgs> GattConnectionStateChanged
{
add
/// <exception cref="InvalidOperationException">Thrown when the Bluetooth LE is not enabled
/// or when the gatt connection attempt to remote device fails.</exception>
/// <since_tizen> 3 </since_tizen>
+ [Obsolete("Deprecated since API level 6. Please use CreateClient() and ConnectAsync() method on BluetoothGattClient.")]
public BluetoothGattClient GattConnect(bool autoConnect)
{
BluetoothGattClient client = null;
/// <exception cref="InvalidOperationException">Thrown when the Bluetooth LE is not enabled
/// or when the GATT disconnection attempt to remote device fails.</exception>
/// <since_tizen> 3 </since_tizen>
+ [Obsolete("Deprecated since API level 6. Please use DisconnectAsync() method on BluetoothGattClient.")]
public void GattDisconnect()
{
if (BluetoothAdapter.IsBluetoothEnabled && Globals.IsInitialize)