Constructor

Config

new Config()

See also
cast.receiver.CastReceiverManager#start

Properties

maxInactivity

(number or undefined)

Maximum time in seconds before closing an idle sender connection. Setting this value enables a heartbeat message to keep the connection alive. Used to detect unresponsive senders faster than typical TCP timeouts. The minimum value is 5 seconds, there is no upper bound enforced but practically it's minutes before platform TCP timeouts come into play. Default value is 10 seconds.

statusText

(string or undefined)

Text that represents the application status. It should meet internationalization rules as may be displayed by the sender application.

versionCode

(number or undefined)

An integer used as an internal version number. This number is used only to distinguish between receiver releases and higher numbers do not necessarily have to represent newer releases.