All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.io.dyte.mobilecorebridge.DyteUtils.kt Maven / Gradle / Ivy

package io.dyte.mobilecorebridge

import io.dyte.core.spotlight.ActiveTab

expect class DyteUtils() {
  fun launchUrl(context: Any?, url: String): Boolean

  fun enableWakelock()

  fun disableWakelock()
}

fun ActiveTab.toMap(): HashMap {
  return hashMapOf(
    "id" to this.id,
    "type" to this.type.name.lowercase(),
    "userId" to this.userId,
  )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy