Show:

SecondScreenClient global entry object, accessible on the browser through window.secondscreenClient.noConflict().

Copyright (c) 2013 Infrared5

https://github.com/infrared5/red5pro-client-html-sdk

Item Index

Properties

Methods

getDOMLogger

() Object

Creates and returns a new instance of a visual DOM-based logger.

Returns:

Object:

DOMLogger with same API as log.Logger

on

(
  • eventType
  • fn
)

Override to glom onto event messages coming from Host.

Parameters:

  • eventType String

    Type of event sent on the communication wire.

  • fn Function

    Delegate assignment

send

(
  • actionName
  • args
)

Sends message over the wire to the connected Host instance.

Parameters:

  • actionName String

    Event name to be associate with message notification on host.

  • args ...args

    Optional arguments to send along as associated data with message.

setLogLevel

(
  • level
)

Define the log level for printing messages from the Host to the console.

Parameters:

  • level Int

    Enumeration value from

versionStr

() String

Returns the current version in prety print String

Returns:

String:

Properties

LogLevels

Dictionary

Enumeration of LogLevels