Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MediaDevice

Hierarchy

  • MediaDevice

Index

Constructors

constructor

  • new MediaDevice(id: string, name: string, active: boolean): MediaDevice
  • Parameters

    • id: string
    • name: string
    • active: boolean

    Returns MediaDevice

Methods

getId

  • getId(): string
  • Method to get ID of the media device.

    Returns string

getIsActive

  • getIsActive(): boolean
  • Method to check if the media device is active or not.

    Returns boolean

getName

  • getName(): string
  • Method to get name of the media device.

    Returns string

setId

  • setId(id: string): void
  • Method to set ID of the media device.

    Parameters

    • id: string

    Returns void

setIsActive

  • setIsActive(active: boolean): void
  • Method to set the media device as active.

    Parameters

    • active: boolean

    Returns void

setName

  • setName(name: string): void
  • Method to set name of the media device.

    Parameters

    • name: string

    Returns void