Web

Build an integration to the Mobile Server in JavaScript

The MIP SDK Mobile supports JavaScript for Web platform development.

Supported features

The MIP SDK Mobile provides full support of the existing Mobile and Web Client functionality.

Learn about the Mobile Server protocol here.

Connection object

Provides functionality to connect to a Milestone Mobile Server and to communicate with it.

Common command

Generic command that follows Mobile Server Protocol command structure. This command enables you to send commands to the Milestone Mobile Server that are not yet implemented in the MIP SDK Mobile.

Signature:

    void SendCommand(commandName, requestParams, successCallback, failCallback)

  Params:

    commandName – string value, representing Viking protocol command

    requestParams – platform specific object

  Callbacks signatures:

    void successCallback(responseParams)

    void failCallback(responseParams)

Viking commands

All commands exposed by the Viking protocol.

Signature:

    void VikingName(vikingNameParams, successCallback, failCallback)

Command groups:

    CONNECTION

    VIDEO

    VIEWS

Handling video

    VideoFactory

    IVideo CreateVideo(requestParams, responseParams)

High-level API

    CONNECTION

    HIGH-LEVEL VIDEO OBJECT

    VIDEO OBJECT METHODS

    PLAYBACK VIDEO OBJECT METODS