Types (core)

    Types (core)


    Article summary


    title: Types

    version: 1.2.0
    layout: default
    sdk: core

    # Types


    Version Types 0.0.0-unknown.0

    Table of Contents

    Overview

    undefined

    Types

    AudioProfile

    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',
    },
    
    

    SemanticVersion

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

    BooleanMap

    type BooleanMap = {}
    

    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

    
    

    Timeout

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

    
    


    Was this article helpful?