using System;
using UnityEngine;

namespace SmartBowSDK
{
    public class BluetoothWindows
    {
        public static Func<bool> Connect;
        public static Func<bool> Disconnect;
        public static Func<string, bool> Write;
        public static Action OnConnected;
        public static Action OnConnectionFailed;
        public static Action<byte[]> OnCharacteristicChanged;
        public static bool IsWindows()
        {
            return Application.platform == RuntimePlatform.WindowsPlayer || Application.platform == RuntimePlatform.WindowsEditor;
        }
    }
}
