Developer Docs
Introduction
webOS SDK 2.1 - build 519
Highlights
Key Fixes&Enhancements
New webOS Features&APIs
PDK
Tools
Known Issues&Limitations
APIs
Tools
Installers
New in webOS 2
Just Type
About db8 and JSON
Configuring appinfo.json for Just Type
Schema
action
dbsearch
search
Appinfo.json Keywords
Configuring Permissions for db8 Search
Exhibition
Using Exhibition
JSON
JavaScript
App Lifetime Considerations
Sample App
JavaScript Services
Why Services?
JavaScript for Services
Node.js
Foundations
Next Steps
Additional Documentation
Creating a Hello World Service
Prerequisites
To Create a Hello World Service
Debugging
To open a shell and log in to the device
To open a shell and log in to the Emulator
To see your installed service on the device/emulator
To invoke the service from a shell
To manually start a service
To monitor console messages in realtime
Troubleshooting
Activity Manager
Activity Manager Features
Activity Participants
Activity Manager Methods (API)
About JSON
Activity Manager Public Methods
adopt
Syntax
Parameters
Returns
cancel
Syntax
Parameter
Returns
complete
Syntax
Parameters
Returns
create
Syntax
Parameters
Returns
getDetails
Syntax
Parameters
Returns
monitor
Syntax
Parameters
Returns
release
Syntax
Parameters
Returns
start
Syntax
Parameters
Returns
stop
Syntax
Parameters
Returns
Activity Lifecycle
Handling Incoming Service Requests
Activity Lifecycle Flowchart
Example Lifecycle Flows
Normal inbound app request
Potentially long running inbound app request
Incoming scheduled background activity
Activity Checklists
Incoming Requests
Scheduled Activities
Scheduled Interval Activities
Activity Manager Data Types
Activity
Schema
Elements
ActivityEvent
Schema
Elements
Possible Events
Activity Manager Callback Property
Schema
Elements
Callbacks
Schema
Elements
Parent
Schema
Elements
Requirements
Schema
Schedule
Schema
Simple Scheduled Item
Smart Interval
Precise Interval
State
Schema
Triggers
Schema
Elements
Type
Foreground or Background
Priority
Probe Activity
Persistent Activity
Explicit Activity
Schema
Elements
Synergy
Creating a Synergy Connector
Account Manager
db8
Minimal Synergy Connector
Typical Synergy Connector
JavaScript Services
Synergy Service
Syncing and Data Mapping
Next Steps
Additional Documentation
Creating a Synergy Contacts Package
Account Manager
Design points
Account Manager Service Interface (APIs)
About JSON
Account Manager Service API:
createAccount
Syntax
Parameters
Return
deleteAccount
Syntax
Parameter
Return
getAccountInfo
Syntax
Parameters
Return
modifyAccount
Syntax
Parameters
Return
Synergy Service
Synergy Service Configuration Objects
Required Directory Structure
Account Manager Invoked Synergy Service Callbacks
onCapabilitiesChanged
Syntax
Parameters
Return
onCreate
Syntax
Parameters
Return
onDelete
Syntax
Parameters
Return
onEnabled
Syntax
Parameters
Return
validator
Syntax
Parameters
Return
Synergy Service Error Codes
Custom Validator
Custom Validator Checklist
Account Manager Data Types
Account
Schema
Elements
Example
capability
Schema
Elements
Example
CredentialsObj
Schema
Elements
Example
CustomValidatorObj
Schema
Elements
Example
DbKindsObj
Schema
Elements
Example
iconObj
Schema
Elements
Example
Template
Schema
Elements
Example
Calendar
Calendar Data Object Schemas and Kinds
Notes on Recurrence Rules and using ordDay
Examples
Alarm
Schema
Elements
AlarmTrigger
Schema
Elements
Attendee
Schema
Elements
Calendar
Schema
Elements
Calendar Event
Schema
Elements
Calendar Preferences
Schema
Elements
ordDay
Schema
Elements
Recurrence Rule
Schema
Elements
Rule
Schema
Elements
Contacts
Contacts Data Object Schemas and Kinds
Contact
Schema
Elements
Contact Account
Schema
Elements
ContactAddress
Schema
Elements
ContactCustomField
Schema
Elements
ContactName
Schema
Elements
ContactOrganization
Schema
Elements
ContactPhotoField
Schema
Elements
ContactPluralAddress
Schema
ContactPluralField
Schema
Elements
ContactPluralIMAddress
Schema
Elements
DefaultPropertyHash
Schema
Elements
FavoritablePersonPluralField
Schema
Elements
DefaultPropertyHash
Schema
Elements
Favorite
Schema
Elements
Person
Schema
Elements
PersonName
Schema
Elements
PersonPluralAddress
Schema
Elements
PersonPluralField
Schema
Elements
PersonPluralIMAddress
Schema
Elements
PersonPluralPhoneNumber
Schema
Elements
PersonRingtone
Schema
Elements
Media Capture
Using Media Capture Functionality in Your Code
Media Capture API
Note About File Storage
load
Syntax
Parameters
startAudioCapture
Syntax
Parameters
startImageCapture
Syntax
Parameters
startVideoCapture
Syntax
Parameters
stopAudioCapture
Syntax
Parameters
stopVideoCapture
Syntax
Parameters
unload
Syntax
Parameters
Media Capture Interface
Read-only Attributes
Data Structures
AudioCaptureOptions
Schema
Elements
AudioVolume
Schema
Elements
CaptureDevice
Schema
Elements
CaptureFormat
Schema
Elements
ImageCaptureOptions
Schema
Elements
LoadOptions
Schema
Elements
VideoCaptureOptions
Schema
Elements
Events
Media Indexer
Accessing Media Indexer Data
Media Indexer Data Types and Kinds
Using the Code Samples
albumimage
Schema
Elements
album
Schema
Elements
artist
Schema
Elements
audio file
Schema
Elements
genre
Schema
Elements
image
Schema
Elements
playlist
Schema
Elements
thumbnail
Schema
Elements
video file
Schema
Elements
Getting Permission to Access Media Data
request
Schema
Elements
Returns
Elements
db8
db8 Features
Basic Steps
db8 Stores JSON objects
Example JSON data object
Special Properties for db8 JSON Objects
Queries and Indexing
All Queries Must be on Indexed Fields
Atomicity and Optimistic Concurrency
Schema Enforcement
Change Notifications
Using Revision Sets
Allowing Other Apps or Services to Access Your db8 Data
Example 1
Example 2 - Just Type
db8 FAQ
db8 Data Types
BatchOperation
Schema
Elements
BatchResponse
Schema
Elements
CountResponse
Schema
Elements
ErrResponse
Schema
Elements
FindResponse
Schema
Elements
GetResponse
Schema
Elements
IndexClause
Schema
Elements
IndexPropClause
Schema
Elements
NotificationResponse
Schema
Elements
PutResponse
Schema
Elements
PutResult
Schema
Elements
Query
Schema
Elements
ReserveIdsResponse
Schema
Elements
RevSetClause
Schema
Elements
RevSetPropClause
Schema
Elements
SuccessResponse
Schema
Elements
WhereClause
Schema
Elements
db8 Service API
batch
Schema
Parameters
Return
del
Schema
Parameters
Return
delKind
Schema
Parameters
Return
find
Schema
Parameters
Return
get
Schema
Parameters
Return
merge
Schema
Parameters
Return
put
Schema
Parameters
Return
putKind
Syntax
Parameters
Return
reserveIds
Schema
Parameters
Return
search
Schema
Parameters
Return
watch
Schema
Parameters
Return
db8 JavaScript Wrapper API
Including the db8 JavaScript Wrapper in Your Code
del
Syntax
Parameters
Return
delKind
Syntax
Parameters
Return
find
Syntax
Parameters
Return
get
Syntax
Parameters
Return
merge
Syntax
Parameters
Return
put
Syntax
Parameters
Return
putKind
Syntax
Parameters
Return
reserveIds
Syntax
Parameters
Return
db8 Luna Send Examples
API calls
batch
del
delKind
find
get
merge
put
putKind
search
watch
collate
revision set
Mojo.Core Application Framework
Namespaces
AltChar
Class Methods
AltChar.setup
Animation
Classes
Animation.Queue
Class Methods
Animation.getQueue
App
Class Properties
App.info
AppMenu
Classes
AppMenu.CommandEvent
Class Methods
AppMenu.setup
Child
Child.Types Namespace
Constants
Child.Types.card
Child.Types.dashboard
Child.Types.dockMode
Child.Types.popupAlert
Classes
Child.Banner
Instance Methods
Child.Banner#close
Class Methods
Child.createBanner
Child.createWindow
Example
Event
Classes
Class methods
Constants
Event Classes
Event.AccelerationEvent
Event.Acceleration Properties
Event.AccelerationEvent#accelX
Event.AccelerationEvent#accelY
Event.AccelerationEvent#accelZ
Event.DragEvent
Event.Drag Properties
Event.DragEvent#down
Event.DragEvent#move
Event.DragEvent#up
Event.FlickEvent
Event.FlickEvent Properties
Event.FlickEvent#origin
Event.FlickEvent#velocity
Event.GestureEvent
Event.GestureEvent Properties
Event.GestureEvent#rotation
Event.GestureEvent#scale
Event.OrientationChangeEvent
Event.OrientationChangeEvent Properties
Event.OrientationChangeEvent#pitch
Event.OrientationChangeEvent#position
Event.OrientationChangeEvent#roll
Event.RelaunchEvent
Event.RelaunchEvent Properties
Event.RelaunchEvent#params
Event.ScreenRotateEvent
Event.ScreenRotateEvent Properties
Event.ScreenRotateEvent#orientation
Event.ShakeEvent
Event.ShakeEvent Properties
Event.ShakeEvent#magnitude
Event Constants
Event.back
Event.command
Event.down
Event.dragEnd
Event.dragging
Event.dragStart
Event.flick
Event.forward
Event.lowMemory
Event.relaunch
Event.screenRotate
Event.up
Event.windowActivate
Event.windowDeactivate
Event Methods
Event.make
Event.send
Event.stop
Scroll
Classes
Scroll.ScrollableElement
Scroll.ScrollableElement Methods
Scroll.ScrollableElement#adjustBy
Scroll.ScrollableElement#getScrollPosition
Scroll.ScrollableElement#revealBottom
Scroll.ScrollableElement#revealElement
Scroll.ScrollableElement#revealTop
Scroll.ScrollableElement#scrollTo
Class Methods
Scroll.createScrollableElement
Example
Scroll.makeViewportScrollable
Constants
Scroll.scrollEnd
Scroll.scrolling
Scroll.scrollStart
Service
Classes
Service.Request
Service.Request Methods
Service.Request#cancel
Class Methods
Service.createRequest
Example
Foundations
Including Foundations in Your Code
Array Utilities
ArrayUtils.clear
Syntax
Parameters
Returns
Assert Utilities
Assert and Require Versions
Using the "msg" and "params" arguments
Assert Functions
Assert.assert
Syntax
Parameters
Returns
Assert.assertArray
Syntax
Parameters
Returns
Assert.assertClass
Syntax
Parameters
Returns
Assert.assertDefined
Syntax
Parameters
Returns
Assert.assertEqual
Syntax
Parameters
Returns
Assert.assertError
Syntax
Parameters
Returns
Assert.assertFalse
Syntax
Parameters
Returns
Assert.assertFunction
Syntax
Parameters
Returns
Assert.assertIdentical
Syntax
Parameters
Returns
Assert.assertJSONObject
Syntax
Parameters
Returns
Assert.assertMatch
Syntax
Parameters
Returns
Assert.assertNumber
Syntax
Parameters
Returns
Assert.assertObject
Syntax
Parameters
Returns
Assert.assertProperty
Syntax
Parameters
Returns
Assert.assertString
Syntax
Parameters
Returns
Assert.require
Syntax
Parameters
Returns
Assert.requireArray
Syntax
Parameters
Returns
Assert.requireClass
Syntax
Parameters
Returns
Assert.requireDefined
Syntax
Parameters
Returns
Assert.requireEqual
Syntax
Parameters
Returns
Assert.requireError
Syntax
Parameters
Returns
Assert.requireFalse
Syntax
Parameters
Returns
Assert.requireFunction
Syntax
Parameters
Returns
Assert.requireIdentical
Syntax
Parameters
Returns
Assert.requireJSONObject
Syntax
Parameters
Returns
Assert.requireMatch
Syntax
Parameters
Returns
Assert.requireNumber
Syntax
Parameters
Returns
Assert.requireObject
Syntax
Parameters
Returns
Assert.requireProperty
Syntax
Parameters
Returns
Assert.requireString
Syntax
Parameters
Returns
Communication Utilities
Options for Ajax calls
AjaxCall.get
Syntax
Parameters
Returns
AjaxCall.head
Syntax
Parameters
Returns
AjaxCall.post
Syntax
Parameters
Returns
PalmCall.call
Syntax
Parameters
Returns
Control Utilities
Finite State Machine
Implementing a Finite State Machine
Allocating a Finite State Machine
FSM Methods
currentState
Syntax
Parameters
Returns
event
Syntax
Parameters
Returns
go
Syntax
Parameters
Returns
Futures
Allocating a Future
Future Model
Basic Usage
Error Handling
Passing Error Functions
Creating a Future-wide Error Handler
Guidelines for Implementing Futures
Future Properties
Future Methods
Code Sample Notes
callback
Syntax
Parameters
Returns
cancel
Syntax
Parameters
Returns
getException
Syntax
Parameters
Returns
getResult
Syntax
Parameters
Returns
nest
Syntax
Parameters
Returns
now
Syntax
Parameters
Returns
onError
Syntax
Parameters
Returns
setException
Syntax
Parameters
Returns
setResult
Syntax
Parameters
Returns
status
Syntax
Parameters
Returns
then
Syntax
Parameters
Returns
whilst
Syntax
Parameters
Returns
mapReduce
Syntax
Parameters
Returns
Environment Utilities
EnvironmentUtils.runtime
Syntax
Parameters
Returns
EnvironmentUtils.isBrowser
Syntax
Parameters
Returns
EnvironmentUtils.isNode
Syntax
Parameters
Returns
Object Utilities
ObjectUtils.toQueryString()
Syntax
Parameters
Returns
String Utilities
StringUtils.camelize()
Syntax
Parameters
Returns
StringUtils.endsWith()
Syntax
Parameters
Returns
StringUtils.escapeHTML()
Syntax
Parameters
Returns
StringUtils.includes()
Syntax
Parameters
Returns
StringUtils.isBlank()
Syntax
Parameters
Returns
StringUtils.parseQueryString()
Syntax
Parameters
Returns
StringUtils.startsWith()
Syntax
Parameters
Returns
StringUtils.stripScripts()
Syntax
Parameters
Returns
StringUtils.stripTags()
Syntax
Parameters
Returns
StringUtils.unescapeHTML()
Syntax
Parameters
Returns
Structure Utilities
Class.create()
Syntax
Parameters
Returns
Err.create()
Syntax
Parameters
Returns
Including foundations.json in Your Code
query
Supported Operators
Syntax
Parameters
Returns
Schema.validate
Syntax
Parameters
Returns
Schema.checkPropertyChange
Syntax
Parameters
Returns
Transformer.initialize
Syntax
Parameters
Returns
Transformer.merge
Syntax
Parameters
Returns
Transformer.transform
Syntax
Parameters
Returns
Transformer.transformAndMerge
Syntax
Parameters
Returns
Bluetooth Serial Port Protocol (SPP)
URI
Common Parameter Types
Method--GAP
gettrusteddevices
Parameters
Returns
Methods--SPP
subscribenotifications
Parameters
Returns
connect
Parameters
Returns
selectservice
Parameters
Returns
open
Parameters
Returns
read
Parameters
Returns
close
Parameters
Returns
disconnect
Parameters
Returns
HTML5 Enhancements
Zeroconf (Bonjour)
ZeroConf Luna Service API
browse
Syntax
Parameters
Return
resolve
Syntax
Parameters
Return
register
Syntax
Parameters
Return
Key Manager
Supported Key Types
Supported Block Cipher Modes
Supported Block Cipher Padding Modes
Methods
About JSON
Data Formatting
Key Manager Public Methods
crypt
Schema
Parameters
Returns
export
Schema
Parameters
Returns
fetchKey
Schema
Parameters
Returns
generate
Schema
Parameters
Returns
import
Schema
Parameters
Returns
keyInfo
Schema
Parameters
Returns
remove
Schema
Parameters
Returns
store
Schema
Parameters
Returns
Reference
webOS Services
Accelerometer
Orientation events
Pitch and Roll
Shake
Raw Accelerometer Data
See a demo
Sample code from the screencast
main-assistant.js
main-scene.html
Add Calendar Event
Example
Add Contact
Example
Alarms
URI
Methods
set
Parameters
Return Handling
Example
clear
Parameters
Return Handling
Example
Examples
Set Calendar-Based Time
Set an Egg Timer to Activate 1 hr From Now
Remove Egg Timer
Schedule a News Fetch with a Twist
Application Manager
URI
Methods
open
Parameters
Return Handling
Example - launch the Palm calendar app
launch
Parameters
Return Handling
Example - open the app catalog to the Pandora page
Command and Resource Types
Audio
Using the webOS Streaming Music Player
Using HTML 5 Audio Objects
Adding an Audio Object
Loading the MediaExtension Library
Setting an Object's Audio Class
Controlling a Media Object
Playing, Pausing and Seeking
Determining Whether a Media Object is Pausable
Handling Media Events
Audio Performance Tips
Audio Object Garbage Collection
Supported Audio Formats
Supported Formats
Streaming
Volume Key Lock
Bluetooth Serial Port Protocol (SPP)
URI
Common Parameter Types
Method--GAP
gettrusteddevices
Parameters
Returns
Methods--SPP
subscribenotifications
Parameters
Returns
connect
Parameters
Returns
selectservice
Parameters
Returns
open
Parameters
Returns
read
Parameters
Returns
close
Parameters
Returns
disconnect
Parameters
Returns
Browser
Method
open
Parameters
Return Handling
Example
Sample Code
Camera
Method
capture
Parameters
Return Handling
Example
Sample Code
Connection Manager
Objects
btpan
wan
wifi
Method
getstatus
Parameters
Return Handling
Example
Sample Code
Display Manager
Method
status
Parameters
Return Handling
Example
Document Viewers
Method
open
Parameters
Return Handling
Example
Sample Code
Download Manager
Methods
download
Parameters
Return Handling
Example
cancelDownload
Parameters
Return Handling
Example
deleteDownloadedFile
Parameters
Return Handling
Example
downloadStatusQuery
Parameters
Return Handling
Example
listPending
Parameters
Return Handling
Example
upload
Parameters
Return Handling
Example
Email
Objects
params
recipient (object literal)
Methods
open, Using mailto
Parameters
Return Handling
Example
open, Using Parameter Hash
Parameters
Return Handling
Example
Sample Code
GPS
Methods
getCurrentPosition
Parameters
Return Handling
Example
startTracking
Parameters
Return Handling
Example
getReverseLocation
Parameters
Return Handling
Example
GPS CSV Route File
Key Service
Methods
audio/status
Parameters
Return Handling
Example
media/status
Parameters
Return Handling
Example
switches/status
Parameters
Return Handling
Example
headset/status
Parameters
Return Handling
Example
Maps
Objects
params
Methods
open
Parameters
Return Handling
Example using target
Example using id plus params
launch
Parameters
Return Handling
Example
Examples
Open Command
Launch Command
Search for Pizza Around a Specified Location (lat, lng)
Sample Code
Messaging
Object
Parameters
Method
launch
Parameters
Return Handling
Example
Sample Code
People Picker
Example
Phone
Methods
open
Parameters
Return Handling
Example
launch
Parameters
Return Handling
Example
Sample Code
Photos
Method
launch
Parameters
Return Handling
Example
Sample Code
Power Management
Using the Power Management Service
System Properties
Method
Get
Parameters
Return Handling
Example
Sample Code
System Services
Preferences Methods
getPreferences
Parameters
Return Handling
Example
getPreferenceValues
Parameters
Return Handling
Example
setPreferences
Parameters
Return Handling
Example
Time Method
getSystemTime
Parameters
Return Handling
Example
Wallpaper Methods
wallpaper/importWallpaper
Parameters
Return Handling
Example
wallpaper/refresh
Parameters
Return Handling
wallpaper/info
Parameters
Return Handling
Example
wallpaper/deleteWallpaper
Parameters
Return Handling
Example
Sample Code
System Sounds
Method
playFeedback
Parameters
Return Handling
Example
Sample Code
Video
Using the webOS Video Player
Using HTML 5 Video Objects
How Video Objects Work in webOS
Adding a Video Object
Loading the MediaExtension Library
Setting an Object's Audio Class
Controlling a Media Object
Playing, Pausing and Seeking
Determining Whether a Media Object is Pausable
Handling Media Events
Setting a Video Object's Fit Mode
Supported Video Formats
Supported Formats
Encoding Profiles
Containers
Streaming
View File
Mojo Application Framework
Mojo.Animation
Namespace Detail
Summary
Method Summary
Detail
Mojo.Animation.easeIn
Mojo.Animation.easeInOut
Mojo.Animation.easeOut
Method Detail
Mojo.Animation.animateClip(element, side, animationType, details)
Example Use
'details' properties
Parameters
Mojo.Animation.animateStyle(element, attr, animationType, details)
Example Use
'details' properties
Parameters:
Mojo.Animation.animateValue(q, animationType, callback, details)
'details' properties
Methods
Parameters:
Mojo.Animation.queueForElement(element)
Parameter
Mojo.Animation.Queue
Class Detail
Method Summary
Method Detail
Mojo.Animation.Queue.
add
(animation)
Parameter
Mojo.Animation.Queue.
remove
(animation)
Parameter
Mojo.Char
Namespace Detail
Method Summary
Method Detail
{boolean} Mojo.Char.
isDeleteKey
(key)
Parameter
Returns
{boolean} Mojo.Char.
isDigit
(key)
Parameter
Returns
{boolean} Mojo.Char.
isEnterKey
(key)
Parameter
Returns
{boolean} Mojo.Char.
isValid
(key)
Parameter
Returns
Mojo.Char.
isValidWrittenChar
(keyCode)
Parameter
Mojo.Controller
Namespace Detail
Summary
Detail
Mojo.Controller.
errorDialog
Overview
Function Call
Arguments
Styles
{Object} Mojo.Controller.
getAppController
Mojo.Controller.
showAlertDialog
Overview
Function Call
Arguments
Mojo.Controller.
showDialog
Overview
Function Call
Arguments
Mojo.Controller.AppController
Class Detail
Method Summary
Method Detail
Mojo.Controller.AppController.
closeAllStages
()
Mojo.Controller.AppController.
closeStage
(stageName)
Parameter
Mojo.Controller.AppController.
createStageWithCallback
(stageArguments, onCreate, optionalStageType)
Parameters
Mojo.Controller.AppController.
getActiveStageController
(stageType)
Parameter
{string} Mojo.Controller.AppController.
getScreenOrientation
()
Returns
Mojo.Controller.AppController.
getStageController
(stageName)
Parameter
Mojo.Controller.AppController.
getStageProxy
(stageName)
Parameter
{Object} Mojo.Controller.AppController.
launch
(appId, params, onSuccess, onFailure)
Parameters
Returns
{Object} Mojo.Controller.AppController.
open
(params, onSuccess, onFailure)
Parameters
Returns
Mojo.Controller.AppController.
playSoundNotification
(soundClass, soundFile, duration)
Parameters
Mojo.Controller.AppController.
removeAllBanners
()
Mojo.Controller.AppController.
removeBanner
(category)
Parameter
Mojo.Controller.AppController.
sendToNotificationChain
(notificationData)
Parameter
Mojo.Controller.AppController.
showBanner
(bannerParams, launchArguments, category)
Parameters
Mojo.Controller.SceneController
Class Detail
Summary
Method Summary
Detail
Mojo.Controller.SceneController.
sceneContainerLayer
Method Detail
Mojo.Controller.SceneController.
commitChanges
()
Mojo.Controller.SceneController.
enableFullScreenMode
(yesNo)
Parameter
Mojo.Controller.SceneController.
get
(elementId)
Parameter
Mojo.Controller.SceneController.
getSceneScroller
()
Mojo.Controller.SceneController.
hideWidgetContainer
(elementOrId)
Parameter
Mojo.Controller.SceneController.
listen
(element, eventType, callback, onCapture)
Parameters
Mojo.Controller.SceneController.
modelChanged
(model, who)
Parameters
Mojo.Controller.SceneController.
popupSubmenu
()
Mojo.Controller.SceneController.
prepareTransition
(transitionType, isPop)
Parameters
Mojo.Controller.SceneController.
pushCommander
(cmdr)
Parameter
Mojo.Controller.SceneController.
pushContainer
(container, layer, options)
Parameters
Mojo.Controller.SceneController.
removeCommander
(cmdr)
Parameter
Mojo.Controller.SceneController.
removeContainer
(container)
Parameter
Mojo.Controller.SceneController.
removeRequest
(request)
Parameter
Mojo.Controller.SceneController.
removeWatcher
(watcher, model)
Parameters
{Object} Mojo.Controller.SceneController.
serviceRequest
(url, options, resubscribe)
Parameters
Returns
Mojo.Controller.SceneController.
setDefaultTransition
(transitionType)
Parameter
Mojo.Controller.SceneController.
setInitialFocusedElement
(focusedElement)
Parameter
Mojo.Controller.SceneController.
setupWidget
(name, attributes, model)
Parameters
{Function} Mojo.Controller.SceneController.
setUserIdleTimeout
(element, func, delay, watchMouse, watchKeys)
Parameters
Returns
Mojo.Controller.SceneController.
setWidgetModel
(widget, model)
Parameters
Mojo.Controller.SceneController.
showWidgetContainer
(elementOrId)
Parameter
Mojo.Controller.SceneController.
stopListening
(element, eventType, callback, onCapture)
Parameters
Mojo.Controller.SceneController.
topContainer
()
Mojo.Controller.SceneController.
useLandscapePageUpDown
(yesNo)
Parameter
Mojo.Controller.SceneController.
watchModel
(model, who, changeFunc)
Parameters
Mojo.Controller.StageController
Class Detail
Method Summary
Method Detail
Mojo.Controller.StageController.
activate
()
Mojo.Controller.StageController.
activeScene
()
Mojo.Controller.StageController.
deactivate
()
Mojo.Controller.StageController.
delegateToSceneAssistant
(functionName)
Parameters
Mojo.Controller.StageController.
getAppController
()
Mojo.Controller.StageController.
getScenes
()
Mojo.Controller.StageController.
getWindowOrientation
(orientation)
Parameters
{Boolean} Mojo.Controller.StageController.
hasNewContent
()
Mojo.Controller.StageController.
indicateNewContent
(hasNew)
Parameters
Mojo.Controller.StageController.
isActiveAndHasScenes
()
{Boolean} Mojo.Controller.StageController.
isChildWindow
()
Mojo.Controller.StageController.
loadStylesheet
(path)
Parameters
Mojo.Controller.StageController.
parentSceneAssistant
(targetSceneAssistant)
Parameters
Mojo.Controller.StageController.
popScene
(returnValue, options)
Parameters
Mojo.Controller.StageController.
popScenesTo
(targetScene, options)
Parameters
Mojo.Controller.StageController.
pushAppSupportInfoScene
()
Overview
Function Call
Mojo.Controller.StageController.
pushCommander
(cmdr)
Parameters
Mojo.Controller.StageController.
pushScene
(sceneArguments)
Parameters
Mojo.Controller.StageController.
removeCommander
(cmdr)
Parameters
Mojo.Controller.StageController.
sendEventToCommanders
(event)
Parameters
Mojo.Controller.StageController.
setClipboard
(escapeHTML:, escapeHTML)
Parameters
Mojo.Controller.StageController.
setWindowOrientation
(orientation)
Parameters
Mojo.Controller.StageController.
setWindowProperties
(props)
Parameters
Mojo.Controller.StageController.
swapScene
(sceneArguments)
Parameters
Mojo.Controller.StageController.
topScene
()
Mojo.Controller.StageController.
unloadStylesheet
(path)
Parameters
Mojo.Depot
Class Detail
Method Summary
Method Detail
Mojo.Depot.
add
(key, value, onSuccess, onFailure)
Parameters
Mojo.Depot.
discard
(key, onSuccess, onFailure)
Parameters
Since
Mojo.Depot.
get
(key, onSuccess, onFailure)
Parameters
Mojo.Depot.
remove
(bucket, key, onSuccess, onFailure)
Parameters
Mojo.Depot.
removeAll
(onSuccess, onFailure)
Parameters
Mojo.Drag
Namespace Detail
Method Summary
Method Detail
Mojo.Drag.
setupDropContainer
(element, dropClient)
Parameters
Mojo.Drag.
startDragging
(sceneController, element, startEvent, options)
Parameters
Mojo.Environment
Namespace Detail
Summary
Detail
Mojo.Environment.
AZERTY
Mojo.Environment.
AZERTY_ACC
Mojo.Environment.
build
Since
Mojo.Environment.
DeviceInfo
Mojo.Environment.
QWERTY
Mojo.Environment.
QWERTZ
Mojo.Environment.
QWERTZ_ACC
Mojo.Event
Namespace Detail
Summary
Method Summary
Detail
Mojo.Event.
aboutToActivate
Supported Widgets
Mojo.Event.
activate
Supported Widgets
Mojo.Event.
back
Custom Event Fields
Supported Widgets
Mojo.Event.
command
Supported Widgets
Mojo.Event.
commandEnable
Supported Widgets
Mojo.Event.
dragEnd
Supported Widgets
Mojo.Event.
dragging
Supported Widgets
Mojo.Event.
dragStart
Supported Widgets
Mojo.Event.
filter
Supported Widgets
Mojo.Event.
filterImmediate
Supported Widgets
Mojo.Event.
flick
Supported Widgets
Mojo.Event.
forward
Supported Widgets
Mojo.Event.
hold
Supported Widgets
Mojo.Event.
holdEnd
Supported Widgets
Mojo.Event.
imageViewChanged
Supported Widgets
Mojo.Event.
keydown
Custom Event Fields
Supported Widgets
Mojo.Event.
keypress
Custom Event Fields
Supported Widgets
Mojo.Event.
keyup
Custom Event Fields
Supported Widgets
Mojo.Event.
listAdd
Custom Event Fields
Supported Widgets
Mojo.Event.
listChange
Custom Event Fields
Supported Widgets
Mojo.Event.
listDelete
Custom Event Fields
Supported Widgets
Mojo.Event.
listReorder
Custom Event Fields
Supported Widgets
Mojo.Event.
listTap
Custom Event Fields
Supported Widgets
Mojo.Event.
orientationChange
Mojo.Event.
progressComplete
Supported Widgets
Mojo.Event.
progressIconTap
Custom Event Fields
Supported Widgets
Mojo.Event.
propertyChange
Custom Event Fields
Supported Widgets
Mojo.Event.
scrollStarting
Supported Widgets
Mojo.Event.
singleTap
Supported Widgets
Mojo.Event.
sliderDragEnd
Supported Widgets
Mojo.Event.
sliderDragStart
Supported Widgets
Mojo.Event.
stageActivate
Supported Widgets
Mojo.Event.
stageDeactivate
Supported Widgets
Mojo.Event.
tap
Supported Widgets
Mojo.Event.
webViewImageSaved
Supported Widgets
Method Detail
Mojo.Event.
listen
(target, type{string}, handlerFunction, useCapture)
Parameters
Mojo.Event.
listenForFocusChanges
(node, handler)
Parameters
Mojo.Event.
listenForHoldEvent
(node, downEvent, upEvent, handler, timeout)
Parameters
{Object} Mojo.Event.
make
(name{string}, details, optionalDocument, optionalBubbles, optionalCancel)
Parameters
Returns
Mojo.Event.
send
(element, name{string}, mojoDetails, optionalBubbles, optionalCancel)
Parameters
Mojo.Event.
sendKeyDownAndUpEvents
(keyDescription, optionalDocument)
Parameters
Mojo.Event.
sendKeyEvent
(keyDescription, optionalEventType, optionalDocument)
Parameters
Mojo.Event.
stopListening
(target, type{string}, handlerFunction, useCapture)
Parameters
Mojo.FilePicker
Namespace Detail
Method Summary
Method Detail
Mojo.FilePicker.
pickFile
(params, stageController)
Parameters
Example params
Returned parameters
Sample returns
Example use
Mojo.Format
Namespace Detail
Method Summary
Method Detail
Mojo.Format.
formatChoice
(value, choiceString, model)
Parameters
Returns
{String} Mojo.Format.
formatCurrency
(amount, options)
Parameters
Returns
Mojo.Format.
formatDate
(date, options)
Parameters
Returns
{String} Mojo.Format.
formatNumber
(number, options)
Parameters
Returns
{String} Mojo.Format.
formatPercent
(percent, options)
Parameters
Returns
Mojo.Format.
formatRelativeDate
(date, options)
Parameters
Returns
Mojo.Format.
getCurrentTimeZone
()
Returns
Mojo.Format.
getFirstDayOfWeek
(options)
Parameters:
Returns
Mojo.Format.
isAmPmDefault
(options)
Parameters
Returns
{string} Mojo.Format.
runTextIndexer
(text)
Parameters
Returns:
Mojo.Format.
using12HrTime
()
Returns
Mojo.Function
Namespace Detail
Method Summary
Method Detail
Mojo.Function.
debounce
(onCall, onTimeout, delay, optionalWindow)
Example Use
Parameters
Mojo.Function.Synchronize
Class Detail
Example Use
Alternate Use
Parameters
Method Summary
Method Detail
{Function}
wrap
(callback)
Parameters
Returns
Namespace Detail
Method Summary
Method Detail
{String} Mojo.
assert
(expression, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertArray
(expectedArray, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertClass
(object, constructorFunction, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertDefined
(value, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertElement
(expectedElement, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertEqual
(expected, actual, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertFalse
(expression, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertFunction
(expectedFunction, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertMatch
(regex, testValue, message, messageProperties)
Parameters
Returns
{string} Mojo.
assertNumber
(expectedNumber, message, messageProperties)
Parameters
Returns
Mojo.
assertProperty
(properties)
Parameters
{string} Mojo.
assertString
(expectedString, message, messageProperties)
Parameters
Returns
Mojo.
doNothing
()
Mojo.
loadScriptWithCallback
(path, callback, optionalDocument)
Parameters
Mojo.
parseJSON
(jsonText)
Parameters
{String} Mojo.
require
(expression, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireArray
(expectedArray, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireClass
(object, constructorFunction, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireDefined
(value, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireElement
(expectedElement, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireEqual
(expected, actual, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireFalse
(expression, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireFunction
(expectedFunction, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireMatch
(regex, testValue, message, messageProperties)
Parameters
Returns
{string} Mojo.
requireNumber
(expectedNumber, message, messageProperties)
Parameters
Returns
Mojo.
requireProperty
(properties)
Parameters
{string} Mojo.
requireString
(expectedString, message, messageProperties)
Parameters
Returns
Mojo.Locale
Namespace Detail
Summary
Method Summary
Detail
Mojo.Locale.
getDayNames
Mojo.Locale.
getMonthNames
Method Detail
Mojo.Locale.
getCurrentFormatRegion
()
Returns
Mojo.Locale.
getCurrentLocale
()
Returns
Mojo.Locale.
readStringTable
(fileName, locale, pathToResourcesDir, mergeFunc)
Parameters
Mojo.Log
Namespace Detail
Using logging
Adding logging to your objects
Controlling logging
Summary
Method Summary
Detail
Mojo.Log.
LOG_LEVEL_ERROR
Mojo.Log.
LOG_LEVEL_INFO
Mojo.Log.
LOG_LEVEL_WARNING
Method Detail
Mojo.Log.
addLoggingMethodsToPrototype
(targetObject)
Parameters
Mojo.Log.
error
()
Mojo.Log.
info
()
Mojo.Log.
logException
(e, msg)
Parameters
Mojo.Log.
logProperties
(obj, name, includePrototype)
Parameters
Mojo.Log.
propertiesAsString
(targetObject, includePrototype)
Parameters
Mojo.Log.
warn
()
Mojo.Menu
Class Detail
Summary
Detail
Mojo.Menu.
appMenu
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
List Items
Methods
Mojo.Menu.
commandMenu
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
List Items
Methods
Mojo.Menu.
viewMenu
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
List Items
Methods
Mojo.Model
Namespace Detail
Method Summary
Method Detail
{Object} Mojo.Model.
decorate
(proto, clone)
Parameters
Returns
{string} Mojo.Model.
decrypt
(key, data)
Parameters
Returns
{string} Mojo.Model.
encrypt
(key, data)
Parameters
Returns
Mojo.Model.
format
(model, formatters, clone)
Parameters
Mojo.Model.Cookie
Class Detail
Parameters
Method Summary
Method Detail
get
()
put
(objectToStore, expirationDate)
Parameters
remove
()
Mojo.Service
Namespace Detail
Method Summary
Method Detail
Mojo.Service.
Request
(url, options, requestOptions)
Parameters
Unsubscribing from a Service
Mojo.Timing
Namespace Detail
Method Summary
Method Detail
Mojo.Timing.
createTimingString
(prefix, label)
Parameters
{Mojo.Timing.PerfTimer} Mojo.Timing.
get
(category)
Parameters
Returns
{Array} Mojo.Timing.
getCategoriesWithPrefix
(prefix)
Parameters
Returns
Mojo.Timing.
pause
(category)
Parameters
Mojo.Timing.
PerfTimer
(label)
Parameters
Mojo.Timing.
reportSceneTiming
(sceneName, sceneWindow)
Parameters
Mojo.Timing.
reportTiming
(prefix, label)
Parameters
Mojo.Timing.
reset
(category)
Parameters
Mojo.Timing.
resetAll
()
Mojo.Timing.
resetAllWithPrefix
(prefix)
Parameters
Mojo.Timing.
resetSceneTiming
(sceneWindow)
Parameters
Mojo.Timing.
resume
(category)
Parameters
Mojo.Transition
Namespace Detail
Summary
Detail
Mojo.Transition.
crossFade
Mojo.Transition.
defaultTransition
Mojo.Transition.
none
Mojo.Transition.
zoomFade
Mojo.View
Namespace Detail
Method Summary
Method Detail
Mojo.View.
addTemplateLocation
(basePath, localizedPath, viewFolderName)
Parameters
Mojo.View.
addTouchFeedback
(targetElement)
Parameters
Mojo.View.
advanceFocus
(containingElement, optionalSelection)
Parameters
Mojo.View.
clearTouchFeedback
(root)
Parameters
Mojo.View.
convertToNode
(htmlContent, targetDocument)
Parameters
Mojo.View.
convertToNodeList
(htmlContent, targetDocument)
Parameters
{String|Object|Array|Boolean|Number} Mojo.View.
getFocusableList
(containingElement)
Parameters
Mojo.View.
getFocusedElement
(containingElement)
Parameters
Mojo.View.
getScrollerForElement
(targetElement)
Parameters
Mojo.View.
makeFocusable
(targetElement)
Parameters
Mojo.View.
makeNotFocusable
(targetElement)
Parameters
Mojo.View.
removeTouchFeedback
(targetElement)
Parameters
Mojo.View.
render
(renderParams)
Parameters
Mojo.View.
requiresProperties
(element, target, one)
Parameters
{Boolean} Mojo.View.
visible
(element)
Parameters
All About Widgets
How to Use this Section
Anatomy of a Widget
The Application Perspective
Declaring Widgets
Widget Setup
Changing Widget Data Models
Using Widgets in Lists
Observing and Handling Widget Events
The Framework Perspective
Buttons and Selectors
Button
Check Box
Toggle Button
Radio Button
List Selector
Slider
Dialogs and Containers
Dialogs
showDialog()
showAlertDialog()
errorDialog()
Drawer
Scroller
Creating a Scroller
Scrollers and Widgets
Scroll Listeners
Scrolling Modes
Programatically Updating the Scroller
Indicators
Spinner
Progress Indicators
ProgressPill
ProgressBar
Progress
ProgressSlider
Lists
List
Templates
Dynamic Lists
Formatters and Dividers
Rendering Lists
List Manipulation
Styling and Highlighting
Filter List
Creating a List
Controlling HTML Escaping in Templates
Media Objects
Using HTMLMediaElements
Include the Javascript implementation
Instantiate Audio or Video objects
Useful defines
Sample audio player
Sample video player
webOS audio/video extensions
Menus
Menu Widgets
Application Menu
View Menu
Command Menu
Sub-menu
Pickers
Overview
Styling
Date Picker
Time Picker
Integer Picker
Extending Pickers
File Picker
Text Fields
TextField
Hint Text
Single-line TextField
Mutiline TextField
PasswordField
FilterField
RichTextEdit
Known Issues
Viewers
WebView
ImageView
Widget Reference
Widget Models
Mojo.Widget.Button
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.CheckBox
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.DatePicker
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.Drawer
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.FilterField
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.FilterList
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.ImageView
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.IntegerPicker
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.List
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.ListSelector
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.PasswordField
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.ProgressBar
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.ProgressPill
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.ProgressSlider
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.RadioButton
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.RichTextEdit
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.Scroller
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.Slider
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.Spinner
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.TextField
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.TimePicker
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.ToggleButton
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Mojo.Widget.WebView
Namespace Detail
Overview
Declaration
Events
Instantiation
Attribute Properties
Model Properties
Methods
Summary
Detail
Mojo.Widget.WebView.
DialogPromptAssistant
Mojo.Widget.WebView.
DialogUsernamePasswordAssistant
PDK
JavaScript and Plug-in Interface
Initializing a Combined JavaScript/Plug-in App
Communicating Between JS and a Plug-in
Sending data to the Plug-in from JavaScript
Returning data to JS from the Plug-in
Calling a JavaScript function from a Plug-in
Cross-calling Limitations
Throwing Exceptions
Building a Combined JS and Plug-in Application
Troubleshooting Your Hybrid App
Palm PDK Library
Palm Development Library Data Structures
Defines
Enums
Enum Arrays
PDL_Err
PDL_Orientation
PDL_TouchAggression
Typedefs
Structs
PDL_Compass
PDL_Location
PDL_NetInfo
PDL_ScreenMetrics
PDL_OSVersion
Accessing Services
Callback function signature
Calling a Service
Calling a service without a response
Calling a service with a callback response
Unregistering a service callback
Plug-in APIs
PDL_BannerMessagesEnable
Description
Syntax
Returns
PDL_CallJS
Description
Syntax
Example
PDL_CheckLicense
Description
Syntax
Returns
PDL_CustomPauseUiEnable
Description
Syntax
Returns
PDL_EnableLocationTracking
Description
Syntax
Returns
PDL_GesturesEnable
Description
Syntax
Returns
PDL_GetAppinfoValue
Description
Syntax
Returns
PDL_GetDataFilePath
Description
Syntax
Returns
PDL_GetDeviceName
Description
Syntax
Returns
PDL_GetError
Description
Syntax
Returns
Example
PDL_GetHardwareID
Description
Syntax
Returns
PDL_GetJSParamDouble
Description
Syntax
Returns
PDL_GetJSParamInt
Description
Syntax
Returns
PDL_GetJSParamString
Description
Syntax
Returns
PDL_GetKeyName
Description
Syntax
PDL_GetLanguage
Description
Syntax
Returns
PDL_GetLocation
Description
Syntax
Returns
PDL_GetNetInfo
Description
Syntax
Returns
PDL_GetNumJSParams
Description
Syntax
Returns
PDL_GetOSVersion
Description
Syntax
Returns
PDL_GetParamBool
Description
Syntax
Returns
PDL_GetParamDouble
Description
Syntax
Returns
PDL_GetParamInt
Description
Syntax
Returns
PDL_GetParamJson
Description
Syntax
PDL_GetParamString
Description
Syntax
Returns
PDL_GetPDKVersion
Description
Syntax
Returns
PDL_GetRegionCountryCode
Description
Syntax
Returns
PDL_GetRegionCountryName
Description
Syntax
Returns
PDL_GetScreenMetrics
Description
Syntax
Returns
PDL_GetUniqueID
Description
Syntax
Returns
PDL_Init
Description
Syntax
Returns
PDL_isAppLicensedForDevice
Syntax
Returns
Example
PDL_IsPlugin
Description
Syntax
Returns
PDL_JSException
Description
Syntax
Returns
PDL_JSRegistrationComplete
Description
Syntax
Returns
PDL_JSReply
Description
Syntax
Returns
PDL_LaunchBrowser
Description
Syntax
Returns
PDL_LaunchEmail
Description
Syntax
Returns
PDL_LaunchEmailTo
Description
Syntax
Returns
PDL_Minimize
Description
Syntax
Returns
PDL_NotifyMusicPlaying
Description
Syntax
Returns
PDL_ParamExists
Description
Syntax
Returns
PDL_ProviderReply
Description
Syntax
Returns
PDL_Quit
Description
Syntax
PDL_RegisterFunction
Description
Syntax
PDL_RegisterJSHandler
Description
Syntax
Returns
Example
PDL_ScreenTimeoutEnable
Description
Syntax
Returns
PDL_ServiceCall
Description
Syntax
Returns
Example
PDL_ServiceCallWithCallback
Description
Syntax
Returns
Example
PDL_ServiceRegistrationComplete
Description
Syntax
PDL_SetFirewallPortStatus
Description
Syntax
Returns
PDL_SetOrientation
Description
Syntax
Returns
PDL_SetTouchAggression
Description
Syntax
Returns
PDL_UnregisterServiceCallback
Description
Syntax
PDL_Vibrate
Description
Syntax
Returns
CIN_DeInit
Description
Syntax
CIN_Init
Description
Syntax
Returns
CIN_LoadCIN
Description
Syntax
Returns
CIN_Pause
Description
Syntax
CIN_Play
Description
Syntax
CIN_Stop
Description
Syntax
Configuration Files
account_template.json
Overview
Schema
Elements
Example
appinfo.json
Overview
Fields
App ID
Example
Just Type Integration
framework_config.json
Properties
Examples
Dynamic Configuration
packageinfo.json
Overview
Schema
Elements
Example
pluginname_appinfo.json
Overview
Fields
Example
services.json
Application properties
description
commandTimeout
activityTimeout
services
schemas
Service properties
name
description
assistant
commandTimeout
commands
Command properties
name
description
assistant
watch
subscribe
schema
commandTimeout
Schemas
schema
Security
sources.json
Example