Package-level declarations

Types

Link copied to clipboard
open class ApiMetrics(var application: String, var messages: Long = 0, var signed: Long = 0, var lastSeen: Long = Date().time) : Parcelable
Link copied to clipboard
data class Apps(val desktop: MutableList<DesktopApp> = mutableListOf(), val mobile: MutableList<SbApp> = mutableListOf())
Link copied to clipboard
interface BinderProvider : Provider<<Error class: unknown class>>
Link copied to clipboard
interface BinderWrapper

Represents a connection to the Scatterbrain API. This class should only be injected by dagger only. By default this class is created as a singleton, as there is little value of concurrent connections to Scatterbrain

Link copied to clipboard
data class DesktopApp(val remotekey: ByteArray, var pubkey: ByteArray, var session: UUID, var name: String, val remoteFingerprint: ByteArray, var paired: Boolean = false, var admin: Boolean = false) : Parcelable
Link copied to clipboard
data class ForwardMeshtastic(val channel: Int? = null) : Parcelable
Link copied to clipboard

Transaction statistics from a handshake with a Scatterbrain peer.

Link copied to clipboard
data class Identity(val extraKeys: ImmutableMap<String, ByteArray>, val publicKey: ByteArray = extraKeys[PROTOBUF_PRIVKEY_KEY]!!, val name: String, val sig: ByteArray, val fingerprint: UUID, val isOwned: Boolean) : Parcelable

A handle to a cryptographic identity stored in the Scatterbrain router. This class contains all identity metadata except for the private key (for security reasons). This class has no public constructor and is only returned by Scatterbrain api functions

Link copied to clipboard
data class NamePackage(val name: String, val info: ApplicationInfo, pm: PackageManager, var icon: Drawable? = null) : Comparable<NamePackage>

Pair of application name and metadata

Link copied to clipboard
Link copied to clipboard
data class PairingState(val appName: String, val stage: PairingStage, val identity: ByteArray) : Parcelable
Link copied to clipboard
class PermissionStatus(permissions: Map<String, Boolean>) : Parcelable
Link copied to clipboard
Link copied to clipboard
class ScatterbrainApi(applicationContext: Context?)
Link copied to clipboard
data class ScatterMessage(val shm: ShmCompat?, val fromFingerprint: UUID?, val toFingerprint: UUID?, val application: String, val extension: String, val mime: String, val filename: String, val sendDate: Date, val receiveDate: Date, val fileDescriptor: ParcelFileDescriptor?, val isFile: Boolean, val id: ParcelUuid, val forwardMeshtastic: ForwardMeshtastic? = null) : Parcelable

Represents a messages sent or received via Scatterbrain.

Link copied to clipboard
interface ShmCompat : Parcelable
Link copied to clipboard
Link copied to clipboard
@RequiresApi(value = 27)
class ShmSharedMemory(sharedMemory: SharedMemory) : ShmCompat

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard