• Quick Start
  • Booting
  • Platform
  • Portals
  • References
    • API Reference TOI3
    • IIP Reference
  • Resources
ARRIS Enterprises, Inc. Confidential Information

Technical Previews

Method ToiApplicationService#signData( keyName , userData )

This method is used to RSA sign user data. The method signs a hash of the supplied user data as specified in PKCS #1 2.0. The current limit for the data to sign is 4 KiB.

Method ToiApplicationService#verifySignature( keyName , userData , signature )

This method is used to RSA verify signatures for user data. The current limit for the data to verify is 4 KiB.

Method ToiAudioOutputService#getLatency( connectionId )

Returns the audio latency of a connection.

Method ToiAudioOutputService#setLatency( connectionId , latency )

Set an audio connection audio latency. latency is in milliseconds. This should affect all audio formats. If the latency parameter is out of range, the closest supported value is set. Setting the latency for one connection may impact the latency for other connections. In this case, the ToiAudioOutputLatencyChangedEvent will be notified on the impacted connections.

Class ToiDrmService

The ToiDrmService provides application access to the DRM service.

Class ToiHdmiCecActiveRequestedEvent

Called when CEC active from standby is received and the application is in control of standby. The application should call ToiPowerControl#requestPowerProfile to initiate a power profile change request if the STB is in standby. If standby control has been delegated to the platform, this notification will not be sent. Instead a power profile change will automatically be requested.

Class ToiHdmiCecUserControlPressedEvent

Called when CEC "User control pressed" message is received.

Class ToiHdmiCecUserControlReleasedEvent

Called when CEC "User control released" message is received.

Member ToiHdmiService.CEC_FEATURE_REMOTE_CONTROL_PASSTHROUGH_FOLLOWER

STB follows remote control pass through from other CEC devices.

Method ToiMediaPlayer#getPresentationInfo( )

Returns the presentation information about current video and audio lock status. Audio locked means audio decoder is started, sample rate is locked and no sync loss. Video locked means video decoder is started and no sync loss.

Method ToiMediaPlayerBase#getPresentationInfo( )

Returns the presentation information about current video and audio lock status. Audio locked means audio decoder is started, sample rate is locked and no sync loss. Video locked means video decoder is started and no sync loss.

Member ToiMediaPlayerBase.COMPONENT_SUBTITLE_CAPTION

This is an ARIB specific type of subtitles.

Member ToiMediaPlayerBase.COMPONENT_SUBTITLE_SUPERIMPOSE

This is an ARIB specific type of subtitles and used mainly for displaying alert messages on screen.

Member ToiMediaPlayerBase.ToiPresentationInfo

Data structure used to return presentation info. Indicates whether audio and video are ready for presentation.

Class ToiMediaPlayerPresentationStatusChangedEvent

Tells the observer when the video or audio locked status changes. Presentation information is also available through the function ToiMediaPlayerBase#getPresentationInfo.

Class ToiPlatformPowerControllerStatusChangedEvent

Called when an application has registered or released for power control.

Method ToiPlatformService#getDatabases( )

Get information of the system's databases. Each entry indicates the outcome of the last attempt to open the database. Restarting the system will void previous status.

Method ToiPlatformService#getPowerControllerInfo( )

Returns information of available power controller.

typedef ToiPlatformService.ToiDatabaseFlag

The different outcomes when a database is opened. DATABASE_FLAG_OK and DATABASE_FLAG_FAILED are mutually exclusive. When DATABASE_FLAG_OK is set, other flags can be checked for more detailed database information.

typedef ToiPlatformService.ToiDatabaseType

Enumeration of the system's databases.

typedef ToiPlatformService.ToiTime

Type representing time in seconds since the Unix epoch (1970-01-01 00:00:00).

Member ToiPlatformService.REMOVE_BOOKINGS

Empties the scheduler database.

Member ToiPlatformService.REMOVE_CHANNELS

Remove the channel database.

Member ToiPlatformService.ToiDatabaseInfo

Status report for a specific database.

Class ToiPowerControl

ToiPowerControl is used for power management.

There are several regulating bodies with respect to power consumption, eg. Energy Star, EU, IEC, and this interface is intended to allow applications to be compliant with each.

Class ToiResourceService

This service expose the free system resources. This service is just for tracking the resources and notifying the application as and when there is any change in free resources through ToiResourceObserver.

Class ToiSchedulerScheduledDiscontinuityEvent

This function will be called in the rare condition when there has been a discontinuity in time and any notification timestamp (start, stop or trigger) of a booking has already expired (after adjusting time). The expired notifications will be missed and any remaining notifications will be sent as normal at the correct time.

Class ToiSchedulerSeriesChangedEvent

This function will be called when a series is changed.

Method ToiSchedulerService#getBookingIdsForSeries( seriesId )

Get the bookings associated with a series.

Method ToiSchedulerService#getSeries( id )

Get the info of the series with a certain series identifier

Method ToiSchedulerService#getSeriesConflicts( id , category , activity , start , duration , weekdays , occurrence )

Detect conflicts for a new series booking or a series booking about to be rescheduled, but without actually booking any activities.

Method ToiSchedulerService#getSeriesIds( categoryExpression )

Get the all series identifiers with the given category.

Method ToiSchedulerService#getSeriesParameter( id , name )

Get user defined parameters associated with a series.

Method ToiSchedulerService#getSeriesParameterNames( id )

Get all user defined parameters names associated with a series.

Method ToiSchedulerService#removeSeries( id )

Remove a booked recurrent scheduling.

Method ToiSchedulerService#scheduleSeries( category , activity , start , duration , weekdays , numberOfOccurrences , conflictStrategy )

Requests scheduling of a recurrent booking.

Method ToiSchedulerService#setSeriesParameter( id , name , value )

Add user defined parameters to a scheduled series.

Method ToiSchedulerService#unsetSeriesParameter( id , name )

Remove user defined parameters from a scheduled series.

Member ToiSchedulerService.ToiSeries

Structure containing information about an existing series

5.1.p5

Copyright (c) 2017 ARRIS Enterprises, LLC. All Rights Reserved. ARRIS Enterprises, LLC. Confidential Information.