/// /// BLEDevice.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © Marc Rousavy @ Margelo /// package com.margelo.nitro.co.zyke.ble import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "BLEDevice". */ @DoNotStrip @Keep data class BLEDevice( @DoNotStrip @Keep val id: String, @DoNotStrip @Keep val name: String, @DoNotStrip @Keep val rssi: Double, @DoNotStrip @Keep val manufacturerData: ManufacturerData, @DoNotStrip @Keep val serviceData: ServiceData, @DoNotStrip @Keep val serviceUUIDs: Array, @DoNotStrip @Keep val isConnectable: Boolean, @DoNotStrip @Keep val isConnected: Boolean ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(id: String, name: String, rssi: Double, manufacturerData: ManufacturerData, serviceData: ServiceData, serviceUUIDs: Array, isConnectable: Boolean, isConnected: Boolean): BLEDevice { return BLEDevice(id, name, rssi, manufacturerData, serviceData, serviceUUIDs, isConnectable, isConnected) } } }