Types


Version Types 0.0.0-unknown.0

Table of Contents

Overview

undefined

Types

AudioProfile

enum AudioProfile {
	STEREO = 'stereo',
	DOLBY_DIGITAL_5_1 = 'dolbyDigital5.1',
	DOLBY_DIGITAL_7_1 = 'dolbyDigital7.1',
	DOLBY_DIGITAL_5_1_PLUS = 'dolbyDigital5.1+',
	DOLBY_DIGITAL_7_1_PLUS = 'dolbyDigital7.1+',
	DOLBY_ATMOS = 'dolbyAtmos'
}


BooleanMap

type BooleanMap = {
  [property: string]: boolean
}

SemanticVersion

type SemanticVersion = {
  major: number
  minor: number
  patch: number
  readable: string
}

LocalizedString

Localized string supports either a simple string or a Map<string, string> of language codes to strings. When using a simple string, the current preferred langauge from Localization.langauge() is assumed.

type LocalizedString = string | object

FlatMap

type FlatMap = {
  [property: string]: string | number | boolean
}

Timeout

Defines the timeout in seconds. If the threshold for timeout is passed for any operation without a result it will throw an error.

type Timeout = number