# Companion

object Companion

## Functions

fromByte
Link copied to clipboard
fun fromByte(byte: Byte?): Observer

Helper to provide the Observer enum for a particular observer byte value. If an invalid value is provided, NONE is returned.

fromFov
Link copied to clipboard
fun fromFov(fov: Int?): Observer

Helper to provide the Observer enum for a particular observer field-of-view (FOV). Valid options are 2 and 10; if an invalid value is provided, NONE is returned.

fromFullName
Link copied to clipboard
fun fromFullName(name: String?): Observer

Helper to provide the Observer enum for a particular observer full name. If an invalid name is provided, NONE is returned.

fromName
Link copied to clipboard
fun fromName(name: String?): Observer

Helper to provide the Observer enum for a particular observer name. If an invalid name is provided, NONE is returned.