HTML5 Viewer SDK API Documentation 

Namespaces


Class Index

Classes in s7sdk

Class s7sdk.CapabilityState

Manages a set of capability states. Exposes an interface to access and mutate the state.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
Returns a clone of the CapabilityState object.
 
Returns a Boolean indicating the presence of particular capabilities.
 
Returns the names of all active capabilities in a comma separated list.
Class Detail
s7sdk.CapabilityState(caps)
Parameters:
{Number} caps
(Optional) The initial capabilities. If undefined, then no capabilities are set.
See:
s7sdk.ZoomCapabilityState
s7sdk.SpinCapabilityState
s7sdk.VideoCapabilityState
s7sdk.PageViewCapabilityState
Method Detail
{s7sdk.CapabilityState} clone()
Returns a clone of the CapabilityState object.
Returns:
{s7sdk.CapabilityState} A clone of the CapabilityState object.

{Boolean} hasCapability(caps)
Returns a Boolean indicating the presence of particular capabilities.
Parameters:
{Number} caps
A capabilities value.
Returns:
{Boolean} Indicates the existence of the specified capabilities.

{String} toString()
Returns the names of all active capabilities in a comma separated list.
Returns:
{String} A comma separated list of capability names.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Oct 15 2020 11:59:11 GMT-0000 (UTC)