Symphony Wrapper Current API Anaylsis

Symphony Wrapper Current API Anaylsis

The following table is a list of public function that are currently available in appbridge.js that enable interaction between the Symphony client and the wrapper.

Function Name

Comment

Recommendation

Function Name

Comment

Recommendation

ShowHeaderLogo 

Flag which is read by client app to determine if symphony logo in header should be shown

Deprecate?

Log

Just calls console.log. Need for a native logging API provided by container

 

RefreshAuthCookie

Legacy

Deprecate

Shutdown

Closes entire application and child windows - calls close on the main window

 

GetClientInfoRequest

Gets system info - machine spec

 

OpenUrl

Open external URL in default browser

 

RegisterFileUploadCallback

 

Deprecate

RegisterActivityCallback

Detect presence activity (last key or mouse movement)

 

RegisterProtocolHandlerCallback

For deep-linking into a Symphony app launched via protocol handler with QueryString
Like above, good topic of discussion for how to handle events, including global events
Do we want standard protocol for protocol handlers?

 

RegisterWindowBoundsChangeCallback

Window size and/or position change

 

raiseBoundsChangeEvent

Unknown

 

OpenScreenSnippetTool

Container-level or Application-level?

Deprecate?

ClearAlerts

Clear all notifications

 

PlayChime

Plays chime - application level?

Deprecate?

PostAlert

Larger notification topic

 

FlashTaskbarIcon

Flashes the toolbar icon

 

ShowAlertSettings

Application specific

Deprecate

RemoveAlertGrouping

Notification expire/stacking order.  Defer to larger notification discussion

 

GetTempValue

Local storage - not used

Deprecate

SetTempValue

Local storage - not used

Deprecate

Activate

Bring wrapper to front

 

Close

Close Specific window

 

GetActiveWindow

Get window in focus