beautypg.com

Gmiengine.revokemap(), Gmiengine. play (), 14 gmiengine.revokemap() – Grandstream GXV3140 GMI Guide User Manual

Page 13: 15 gmiengine. play ()

background image

Grandstream Networks, Inc.

GMI HTML SDK and API Guide

Page 13 of 43

www.grandstream.com

Last Updated: 09/2010

Purpose:

Map the up/down button functions to tab. Pressing the Up button

will be equivalent of pressing the alt+tab button; the previous

control component will be highlighted. Pressing the Down button

will be equivalent of pressing the tab button; the next control

component will be highlighted.

Parameter and Return

Value:

Parameter:

None

Return Value:

None

Additional Description:

This API function is used to change the functions of the up/down

button, so that the different control components can be selected

using the up/down button.

4.14 GMIEngine.revokemap()

Function:

GMIEngine.revokemap()

Purpose:

Revoke the mapping between the up/down or left/right button with

the tab button.

Parameter and Return

Value:

Parameter:

None

Return Value:

None

Additional Description:

None

4.15 GMIEngine. play ()

Purpose:

Play the designated audio/video file from the URL

Parameter and Return

Value:

Parameter:

url – Specifies the URL of the audio/video file. If there are several

files, use “;” to separate them.

mode – Play Mode. Currently there are two modes,0:Play once;

1:Repeat.

Callback function for the GMIEngine.play function. The function