Package javax.tv.service.selection

Provides a mechanism to select a Service for presentation.

See: Description

Package javax.tv.service.selection Description

Provides a mechanism to select a Service for presentation. The ServiceContext interface abstracts receiver resources required to tune to and present the content of a service, such a tuner, MPEG decoder, screen real estate, and interactive content handlers. The ServiceContext.select() method constitutes a high-level mechanism by which applications may cause the receiver to tune to a desired service, demultiplex the necessary service components, present the audio and video, and launch any associated applications. Applications launched by the ServiceContext.select() method are said to "run" within the ServiceContext.

Due to the scarce nature of the resources embodied by a ServiceContext, implementations may limit the total number of simultaneous ServiceContext objects to a very small number, perhaps even one. (ServiceContext objects in the destroyed state do not count toward this total.) Given appropriate security permissions, it is always possible to access (via ServiceContextFactory.getServiceContexts()) or create (via ServiceContextFactory.createServiceContext()) at least one ServiceContext instance.

See Also:
ServiceContext, ServiceContextFactory

Copyright © 2013 CableLabs. All Rights Reserved.