|
SageTV Platform V7.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsage.api.Global
public class Global
System methods used for dealing with Sage specifics
| Method Summary | |
|---|---|
java.lang.Object |
AddGlobalContext(java.lang.String Name,
java.lang.Object Value)
Sets the variable with the specified name to the specified value. |
java.lang.Object |
AddStaticContext(java.lang.String Name,
java.lang.Object Value)
Sets the variable with the specified name to the specified value. |
void |
ApplyServiceLevelToLineup(java.lang.String Lineup,
int ServiceLevel)
Applies a service level to a given lineup. |
boolean |
AreAiringsSameShow(sage.Airing Airing1,
sage.Airing Airing2)
Returns true if two Airings represent the same Show. |
boolean |
AreThereUnresolvedConflicts()
Returns whether or not there are unresolved scheduling conflicts |
void |
CachePlaceshifterLogin()
This is used to store an authentication block on the current client that it can use in the future to automatically connect to this server w/out having to login. |
boolean |
CanCachePlaceshifterLogin()
This indicates whether the server and the client both support caching of placeshifter logins. |
void |
CancelBackgroundFileDownload(java.io.File DestFile)
Cancels a previous request that was made to perform a background file download. |
void |
CancelFileCopy()
Cancels a previous request that was made to perform a file copy |
void |
CancelFileDownload()
Cancels a previous request that was made to perform a file download |
java.lang.Object |
CDBurnTheBurnList(sage.Playlist BurnList)
Instructs the CD burning engine inside SageTV to start prepping the specified Playlist to be burned to a CD, and then perform the actual burn. |
void |
CDCancelBurn()
Cancels a previous request that was made to perform CD burning. |
void |
CDCancelRip()
Cancels a previous request that was made to perform CD ripping |
java.lang.Object |
CDGetCurrentBurnStatus()
Gets the current status of a previously invoked CD burning process. |
java.lang.Object |
CDGetCurrentRipStatus()
Gets the current status of a previously invoked CD ripping process. |
java.lang.Object |
CDRipToLibrary(java.io.File LibraryDir,
java.lang.String BitrateKbps)
Instructs the CD ripping engine to rip the contents of a CD and encode it in MP3 format and then store it in the music library. |
void |
CloseOptionsMenu()
Closes the last OptionsMenu that was shown and continues execution of the Action chain that spawned that OptionsMenu at the sibling after this OptionsMenu. |
java.lang.Object |
CreateTimedRecording(sage.Channel Channel,
long StartTime,
long StopTime,
java.lang.String Recurrence)
Creates a new time based recording for SageTV. |
void |
DebugLog(java.lang.String DebugString)
Prints out a message to SageTV's debug log |
void |
DeployAvailableUpdate(java.lang.String AvailableUpdate)
Implemented on Linux only |
java.lang.String[] |
DiscoverSageTVServers(long Timeout)
Returns a list of the SageTV servers on the network. |
java.lang.Object |
DVDBurnTheBurnList(sage.Playlist BurnList)
Instructs the DVD burning engine inside SageTV to start prepping the specified Playlist to be burned to a DVD, and then perform the actual burn. |
void |
DVDCancelBurn()
Cancels a previous request that was made to perform DVD burning. |
java.lang.Object |
DVDGetCurrentBurnStatus()
Gets the current status of a previously invoked DVD burning process. |
boolean |
EnsureVisibilityForVariable(java.lang.String Name,
java.lang.Object Value,
int DisplayIndex)
Searches the tables in the current menu for a cell that matches the passed in name/value pair; if found it will ensure that it is currently visible in the UI at the specified visual index of the table. |
void |
Exit()
Causes the SageTV application to terminate. |
void |
Fork()
Spawns a new thread of execution that will be used for further processing of Widget chain. |
java.util.Vector |
GetAiringsThatWontBeRecorded(boolean OnlyUnresolved)
Returns all of the Airings that the user has requested to record that SageTV will not be recording. |
java.lang.String[] |
GetAllLineups()
Returns the name of all the EPG lineups in the system |
long |
GetApplicationLaunchTime()
Returns the time that the SageTV application was instantiated. |
java.lang.String |
GetAvailableUpdate()
Implemented on Linux only |
java.lang.Object |
GetBackgroundFileDownloadStatus(java.io.File DestFile)
Gets the current status of a previously invoked file background download process. |
long |
GetBackgroundFileDownloadStreamTime(java.io.File DestFile)
Gets the current stream time of a previously invoked file download process. |
long |
GetBackgroundFileDownloadTotalSize(java.io.File DestFile)
Gets the total size of the specified background download target. |
java.lang.Object |
GetChildUIComponentForVariable(java.lang.Object UIComponent,
java.lang.String MatchName,
java.lang.Object MatchValue)
Searches all child UI elements in of the specified UIComponent until it finds one that has a variable with the specified name matching the specified value. |
java.lang.String[] |
GetConnectedClients()
Returns a list of all the clients that are currently connected to this server. |
sage.MediaFile[] |
GetCurrentlyRecordingMediaFiles()
Returns a list of all of the files that SageTV is currently recording |
java.lang.Object |
GetDataFromTableFocusedOffset(java.lang.Object UIComponent,
int Offset,
boolean WrapIndex)
Gets the data value for the table that is used for the cell at the specified position relative to what is currently focused for the table. |
java.lang.Object |
GetDataFromTableVisiblePosition(java.lang.Object UIComponent,
int Offset,
boolean WrapIndex)
Gets the data value for the table that is used for the cell at the specified position relative to what is currently visible for the table. |
java.lang.String |
GetDisplayResolution()
Returns a string describing the current display resolution set |
int |
GetDisplayResolutionHeight()
Returns the height in pixels of the current display resolution set |
java.lang.String[] |
GetDisplayResolutionOptions()
Returns a list of the possible display resolutions. |
int |
GetDisplayResolutionWidth()
Returns the width in pixels of the current display resolution set |
java.awt.Panel |
GetEmbeddedPanel()
Gets a java.awt.Panel which can be used for embedding Java UI elements directly into SageTV |
java.util.Set |
GetFailedNetworkMounts()
Returns a list of local directory paths (Strings) that did not mount properly as part of the library scanning process |
java.lang.Object |
GetFileCopyStatus()
Gets the current status of a previously invoked file copy process. |
java.lang.Object |
GetFileDownloadStatus()
Gets the current status of a previously invoked file download process. |
long |
GetFileDownloadStreamTime()
Gets the current stream time of a previously invoked file download process. |
boolean |
GetFocusContext()
Copies all variables from the currently focused UI element's variable context to the current context of the calling Action. |
int |
GetFullUIHeight()
Returns the height in pixels of the user interface for the calling SageTV UI context. |
int |
GetFullUIWidth()
Returns the width in pixels of the user interface for the calling SageTV UI context. |
java.util.Map |
GetHotplugStorageMap()
Returns a map of name->file for any hotplug storage devies on the system. |
long |
GetLastEPGDownloadTime()
Returns the last time that SageTV did an EPG update. |
java.lang.String[] |
GetLineupsForTvtv(java.lang.String Languages)
The single lineup for tvtv. |
java.lang.String[] |
GetLineupsForZipCodeFromEPGServer(java.lang.String ZipCode)
Gets a list from the EPG server of all the possible EPG Lineups that are available in a given zip code |
java.lang.String[] |
GetLocalMarketsFromEPGServer()
Gets a list of all the possible United States local broadcast markets from the EPG server |
sage.MetaImage |
GetLogo(java.lang.String LogoName)
Gets an Image object that represents the specified name. |
java.lang.String |
GetOS()
Gets the name of the operating system that is being used. |
java.lang.String[] |
GetPreferredDisplayResolutions()
Returns a list of the preferred display resolutions. |
sage.Airing[] |
GetRecentlyWatched(long DurationToLookBack)
Gets a list of all of the Airings that have been watched within the specified amount of time |
java.lang.String |
GetRemoteClientVersion()
Returns the version string for this connected remote client |
java.lang.String |
GetRemoteUIType()
Returns the type of client that is connected on this remote interface |
java.util.Vector |
GetSageCommandNames()
Gets the names of all of the SageTV commands that are available in the system |
sage.Airing[] |
GetScheduledRecordings()
Gets a list of all of the Airings that SageTV is planning to record in the future |
sage.Airing[] |
GetScheduledRecordingsForDevice(java.lang.String CaptureDevice)
Gets a list of all of the Airings that SageTV is planning to record in the future on the specified CaptureDevice |
sage.Airing[] |
GetScheduledRecordingsForDeviceForTime(java.lang.String CaptureDevice,
long StartTime,
long StopTime)
Gets a list of all of the Airings that SageTV is planning on recording during the specified time span on a specified CaptureDevice |
sage.Airing[] |
GetScheduledRecordingsForTime(long StartTime,
long StopTime)
Gets a list of all of the Airings that SageTV is planning on recording during the specified time span |
java.lang.String |
GetServerAddress()
Gets the hostname of the SageTV server if this is a client, otherwise it returns the name of the host SageTV is running on |
sage.Airing[] |
GetSuggestedIntelligentRecordings()
Gets a list of all of the Airings that SageTV would record if Intelligent Recording was enabled. |
int |
GetTableFocusedPosition(java.lang.Object UIComponent)
Gets the table position that currently has focus in the specified table. |
int |
GetTableFocusedVisibleColumn(java.lang.Object UIComponent)
Gets the column number that currently has focus in the specified table. |
int |
GetTableFocusedVisiblePosition(java.lang.Object UIComponent)
Gets the visible table position that currently has focus in the specified table. |
int |
GetTableFocusedVisibleRow(java.lang.Object UIComponent)
Gets the row number that currently has focus in the specified table. |
java.lang.String |
GetTextForUIComponent(java.lang.Object UIComponent)
Gets the value displayed for the textual component of the specified UI object. |
long |
GetTimeUntilNextEPGDownload()
The amount of time in milliseconds until SageTV will perform an EPG update again. |
long |
GetTotalDiskspaceAvailable()
Gets the total diskspace available for television recording by SageTV. |
long |
GetTotalLibraryDuration()
Returns the total duration of all of the content in the media library |
long |
GetTotalVideoDuration()
Returns the total duration of all of the recorded television content |
java.lang.Object |
GetUIComponentContext()
Returns the UI component that this execution originated from. |
java.lang.Object |
GetUIComponentForVariable(java.lang.String MatchName,
java.lang.Object MatchValue)
Searches all UI elements in the current menu until it finds one that has a variable with the specified name matching the specified value. |
int |
GetUIComponentHeight(java.lang.Object UIComponent)
Returns the height in pixels in the UI of the specified UI component. |
java.lang.Object |
GetUIComponentLastFocusedChild(java.lang.Object UIComponent)
If the specified component currently has a focused child; that child's UI object will be returned. |
int |
GetUIComponentPositionX(java.lang.Object UIComponent)
Returns the X position in pixels in the UI of the specified UI component. |
int |
GetUIComponentPositionY(java.lang.Object UIComponent)
Returns the Y position in pixels in the UI of the specified UI component. |
int |
GetUIComponentWidth(java.lang.Object UIComponent)
Returns the width in pixels in the UI of the specified UI component. |
java.lang.String |
GetUIContextName()
Returns the name of the UI context that makes the API call. |
java.lang.String[] |
GetUIContextNames()
Returns a list of the names of the different UI contexts that are available. |
long |
GetUsedLibraryDiskspace()
Returns the total number of bytes on disk used by the content in the imported video, picturees and music libraries |
long |
GetUsedVideoDiskspace()
Returns the total number of bytes on disk used by recorded television content |
java.lang.Object |
GetVariableFromContext(java.lang.String MatchName,
java.lang.Object MatchValue,
java.lang.String LookupName)
Searches all UI elements in the current menu until it finds one that has a variable with the specified name matching the specified value. |
java.lang.Object |
GetVariableFromUIComponent(java.lang.Object UIComponent,
java.lang.String VarName)
Retrieves the variable with the specified name from the context of the passed in UIComponent. |
boolean |
GetVisibilityForVariable(java.lang.String MatchName,
java.lang.Object MatchValue)
Searches all UI elements in the current menu until it finds one that has a variable with the specified name matching the specified value. |
boolean |
IsAsleep()
Returns true if SageTV is in the Sleep state. |
boolean |
IsBackgroundFileDownloadProgressivePlay(java.io.File DestFile)
Returns whether or not the current file being downloaded can be played back while being downloaded. |
boolean |
IsChannelDownloadComplete(java.lang.String Lineup)
Returns true if the channel download has been completed on the specified lineup |
boolean |
IsClient()
Returns true if this is an instance of SageTV Client |
boolean |
IsDesktopUI()
Returns true if this UI is being run in a desktop environment. |
boolean |
IsDoingLibraryImportScan()
Returns true if the server is currently scanning the import directories for new files |
boolean |
IsEmbeddedSystem()
Returns true if running on an 'embedded' platform. |
boolean |
IsFileDownloadProgressivePlay()
Returns whether or not the current file being downloaded can be played back while being downloaded. |
boolean |
IsFullScreen()
Returns whether or not SageTV is in full screen mode |
boolean |
IsLinuxOS()
Returns true if SageTV is currently running on a Linux operating system. |
boolean |
IsMacOS()
Returns true if SageTV is currently running on a Macintosh operating system. |
boolean |
IsRemoteUI()
Returns true if this UI is being remoted onto another device such as a media extender. |
boolean |
IsServerUI()
Returns true if this UI is being run on the same system as the SageTV Server it's connected to. |
boolean |
IsTableTransitionToNext(java.lang.Object UIComponent)
Returns true if the specified table argument (or the first table parent of the argument) is on the leading edge of a transition to a cell after the current one. |
boolean |
IsTableTransitionToPrevious(java.lang.Object UIComponent)
Returns true if the specified table argument (or the first table parent of the argument) is on the leading edge of a transition to a cell before the current one. |
boolean |
IsTransitioningFromMenu(java.lang.String MenuName)
Returns true if the specified menu name matches the name of the menu widget for the previously loaded menu. |
boolean |
IsTransitioningToMenu(java.lang.String MenuName)
Returns true if the specified menu name matches the name of the menu widget that the UI is in the process of transitioning to. |
boolean |
IsWindowsOS()
Returns true if SageTV is currently running on a Windows operating system. |
void |
PassiveListen()
Should only be used in the Action chain from a Listener Widget. |
void |
Refresh()
Re-evaluates and redraws all UI elements on the current menu |
void |
RefreshArea(java.lang.String WidgetName)
Finds the Widget on the current menu who's name matches the argument and then re-evaluates and redraws all UI elements, and their children for this Widget |
void |
RefreshAreaForVariable(java.lang.String Name,
java.lang.Object Value)
Searches all visible UI elements in the current menu finding any that have a variable with the specified name matching the specified value. |
void |
ReloadSystemHooks()
This is a Windows only API call which tells SageTV to unload and then reload any system hooks it has installed. |
boolean |
RemoveUnusedLineups()
Removes all of the lineups from SageTV's configuration that are no longer in use by a CaptureDevice |
void |
Repaint()
Redraws all UI elements on the current menu |
void |
RepaintArea(java.lang.String WidgetName)
Finds the Widget on the current menu who's name matches the argument and then redraws all UI elements, and their children for this Widget |
void |
RunLibraryImportScan(boolean WaitUntilDone)
Tells SageTV to run a library import scan now. |
void |
SageCommand(java.lang.String Command)
Causes the corresponding Sage Command to be executed just like it would be if the user performed it. |
java.lang.Object |
SendEventToUIComponent(java.lang.Object UIComponent,
java.lang.String Command,
int RepeatCount)
Sends an event to a specific UI component for processing. |
void |
SetDisplayResolution(java.lang.String Resolution)
Sets the current output display resolution. |
void |
SetEmbeddedPanelBounds(float x,
float y,
float width,
float height)
Sets the bounding region to be used for the embedded panel. |
boolean |
SetFocusForVariable(java.lang.String Name,
java.lang.Object Value)
Searches all UI elements in the current menu until it finds one that has a variable with the specified name matching the specified value. |
boolean |
SetFocusToUIComponent(java.lang.Object UIComponent)
Sets focus in the specified UI component. |
void |
SetFullScreen(boolean FullScreen)
Sets SageTV to be in full or non-full screen mode |
boolean |
SetRemoteEventEncryptionEnabled(boolean EnableEncryption)
This is used to enable/disable encryption on the event channel for the SageTV MiniClient. |
boolean |
StartBackgroundFileDownload(java.lang.String ServerAddress,
java.lang.String SourceFile,
java.io.File DestFile,
java.util.Properties RequestProperties)
Instructs the file transfer engine to download the specified file from the server to the local destination file. |
boolean |
StartCircularFileDownload(java.lang.String ServerAddress,
java.lang.String SourceFile,
java.io.File DestFile)
Instructs the file transfer engine to download the specified file from the server to the local destination file. |
java.lang.Object |
StartFileCopy(java.lang.String Filename,
java.lang.String SourceDirectory,
java.io.File DestDirectory)
Instructs the file transfer engine to copy the specified file(s) from the source directory to the destination directory. |
boolean |
StartFileDownload(java.lang.String ServerAddress,
java.lang.String SourceFile,
java.io.File DestFile)
Instructs the file transfer engine to download the specified file from the server to the local destination file. |
void |
TransmitCommandUsingInfraredTuningPlugin(java.lang.String TuningPlugin,
int TuningPluginPort,
java.lang.String RemoteName,
java.lang.String CommandName,
int RepeatFactor)
Causes SageTV to instruct the specified tuning plugin to send a command |
void |
TvtvActivateTrial()
Deprecated. |
(package private) boolean |
TvtvConfigureInput(java.lang.String CaptureDeviceInput,
java.lang.String Username,
java.lang.String Password)
Deprecated. Use TvtvConfigureUser |
void |
TvtvConfigureUser(java.lang.String Username,
java.lang.String Password,
java.lang.String Host)
Establish user configuration. |
void |
TvtvCreateNewAccount()
Deprecated. |
void |
TvtvCreateSpecificAccount()
TvtvCreateSpecificAccount. |
void |
TvtvDownloadStations(java.lang.String CaptureDeviceInput)
Begin downloading stations. |
java.lang.String |
TvtvGetAccountStatus()
|
java.lang.String |
TvtvGetAccountStatusMessage()
|
java.lang.String |
TvtvGetHost()
User selected host/language. |
java.lang.String[] |
TvtvGetHostList()
Valid host/language list from www.tvtv.de, for SageTV. |
java.lang.String |
TvtvGetUser()
|
void |
TvtvLogoLink()
Launch a browser in response to user click on TvTv logo. |
java.lang.String[] |
TvtvMessage(java.lang.String serial)
Gather TvTv user messages. |
void |
UpdateLocatorServer()
This API call can be used to tell SageTV to do an update with the Locator server right now. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void Refresh()
public void RefreshArea(java.lang.String WidgetName)
WidgetName - the name that a UI component's Widget must match, if null or zero length, then this is the same as calling Refresh()
public void RefreshAreaForVariable(java.lang.String Name,
java.lang.Object Value)
Name - the name of the variable to matchValue - the value of the variable to match onpublic void Repaint()
public void RepaintArea(java.lang.String WidgetName)
WidgetName - the name that a UI component's Widget must match, if null or zero length, then this is the same as calling Repaint()
public java.lang.Object AddStaticContext(java.lang.String Name,
java.lang.Object Value)
Name - the name to use for this 'static context' variableValue - the value to set this 'static context' variable to
public java.lang.Object AddGlobalContext(java.lang.String Name,
java.lang.Object Value)
Name - the name to use for this 'global context' variableValue - the value to set this 'global context' variable topublic boolean AreThereUnresolvedConflicts()
public boolean IsAsleep()
public long GetTotalDiskspaceAvailable()
public long GetTotalLibraryDuration()
public long GetTotalVideoDuration()
public long GetUsedLibraryDiskspace()
public long GetUsedVideoDiskspace()
public boolean AreAiringsSameShow(sage.Airing Airing1,
sage.Airing Airing2)
Airing1 - one of the two Airing objects to compareAiring2 - the other Airing object to compare
public long GetLastEPGDownloadTime()
public sage.MetaImage GetLogo(java.lang.String LogoName)
LogoName - the name to use to lookup the logo image
public long GetTimeUntilNextEPGDownload()
public java.lang.String[] GetAllLineups()
public boolean IsChannelDownloadComplete(java.lang.String Lineup)
Lineup - the name of the Lineup
public java.lang.String[] GetLocalMarketsFromEPGServer()
public java.lang.String[] GetLineupsForZipCodeFromEPGServer(java.lang.String ZipCode)
ZipCode - the zip code to search for EPG lineups in
public sage.MediaFile[] GetCurrentlyRecordingMediaFiles()
public sage.Airing[] GetSuggestedIntelligentRecordings()
public sage.Airing[] GetScheduledRecordings()
public sage.Airing[] GetScheduledRecordingsForDevice(java.lang.String CaptureDevice)
CaptureDevice - the name of a CaptureDevice for SageTV to get the scheduled recordings for
public sage.Airing[] GetScheduledRecordingsForTime(long StartTime,
long StopTime)
StartTime - the starting time to get all of the scheduled recordings forStopTime - the ending time to get all of the scheduled recordings for
public sage.Airing[] GetScheduledRecordingsForDeviceForTime(java.lang.String CaptureDevice,
long StartTime,
long StopTime)
CaptureDevice - the name of a CaptureDevice for SageTV to get the scheduled recordings forStartTime - the starting time to get all of the scheduled recordings forStopTime - the ending time to get all of the scheduled recordings for
public sage.Airing[] GetRecentlyWatched(long DurationToLookBack)
DurationToLookBack - tha amount of time in milliseconds that should be searched for watched Airings
public void RunLibraryImportScan(boolean WaitUntilDone)
WaitUntilDone - if this parameter is true then this call will not return until SageTV has finished the import scan, otherwise it returns immediatelypublic void Exit()
public void SageCommand(java.lang.String Command)
Command - the name of the Sage Command to executepublic boolean RemoveUnusedLineups()
public long GetApplicationLaunchTime()
public boolean GetFocusContext()
public void Fork()
public void TransmitCommandUsingInfraredTuningPlugin(java.lang.String TuningPlugin,
int TuningPluginPort,
java.lang.String RemoteName,
java.lang.String CommandName,
int RepeatFactor)
TuningPlugin - the name of the tuning plugin that should send the commandTuningPluginPort - the name of the port the specified tuning plugin is onRemoteName - the name of the 'Remote Control' that should be used to send the commandCommandName - the name of the command to be sentRepeatFactor - the 'repeat factor' to use for sending the infrared command, 2 is the defaultpublic void DebugLog(java.lang.String DebugString)
DebugString - the string to print outpublic void CloseOptionsMenu()
public java.util.Vector GetSageCommandNames()
public void ApplyServiceLevelToLineup(java.lang.String Lineup,
int ServiceLevel)
Lineup - the name of the EPG lineup to modifyServiceLevel - the service level to apply to the lineup
public boolean SetFocusForVariable(java.lang.String Name,
java.lang.Object Value)
Name - the name of the variable to matchValue - the value of the variable to match on
public boolean EnsureVisibilityForVariable(java.lang.String Name,
java.lang.Object Value,
int DisplayIndex)
Name - the name of the variable to match onValue - the value of the variable to matchDisplayIndex - 0-based value signifying which visually displayed row or column should show the corresonding cell
public java.lang.Object GetVariableFromContext(java.lang.String MatchName,
java.lang.Object MatchValue,
java.lang.String LookupName)
MatchName - the name of the variable to matchMatchValue - the value of the variable to match onLookupName - the variable to lookup in the matching context
public boolean GetVisibilityForVariable(java.lang.String MatchName,
java.lang.Object MatchValue)
MatchName - the name of the variable to matchMatchValue - the value of the variable to match on
public java.lang.Object GetUIComponentForVariable(java.lang.String MatchName,
java.lang.Object MatchValue)
MatchName - the name of the variable to matchMatchValue - the value of the variable to match on
public java.lang.Object GetUIComponentContext()
public boolean SetFocusToUIComponent(java.lang.Object UIComponent)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API call
public int GetTableFocusedVisibleRow(java.lang.Object UIComponent)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API call
public int GetTableFocusedVisibleColumn(java.lang.Object UIComponent)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API call
public int GetTableFocusedVisiblePosition(java.lang.Object UIComponent)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API call
public int GetTableFocusedPosition(java.lang.Object UIComponent)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API call
public java.lang.Object GetDataFromTableFocusedOffset(java.lang.Object UIComponent,
int Offset,
boolean WrapIndex)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API callOffset - the offset of the cell who's table data should be returned; relative to the current focused position (last focused if not currently focused)WrapIndex - true if offsets that fall outside of the size of the data should be wrapped so that they return a data value
public java.lang.Object GetDataFromTableVisiblePosition(java.lang.Object UIComponent,
int Offset,
boolean WrapIndex)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API callOffset - the offset of the cell who's table data should be returned; relative to the first visible positionWrapIndex - true if offsets that fall outside of the size of the data should be wrapped so that they return a data value
public boolean IsTableTransitionToNext(java.lang.Object UIComponent)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API call
public boolean IsTableTransitionToPrevious(java.lang.Object UIComponent)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API call
public boolean IsTransitioningToMenu(java.lang.String MenuName)
MenuName - the name of the menu to test to see if we're transitioning to; null if it matches any menu namepublic boolean IsTransitioningFromMenu(java.lang.String MenuName)
MenuName - the name of the menu to test to see if it was the previously loaded menupublic java.lang.String GetTextForUIComponent(java.lang.Object UIComponent)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API call
public java.lang.Object GetUIComponentLastFocusedChild(java.lang.Object UIComponent)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API call
public int GetUIComponentPositionX(java.lang.Object UIComponent)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API call
public int GetUIComponentPositionY(java.lang.Object UIComponent)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API call
public int GetUIComponentWidth(java.lang.Object UIComponent)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API call
public int GetUIComponentHeight(java.lang.Object UIComponent)
UIComponent - the specified UIComponent, can be retrieved using GetUIComponentForVariable API call
public java.lang.Object SendEventToUIComponent(java.lang.Object UIComponent,
java.lang.String Command,
int RepeatCount)
SageCommand() API call, but this
version is targeted at a specific component. Normal event processing of cursor navigation, selection, entry events will continue up the hierarchy from the target component if it
does not consume it; it will stop at the menu level though and any menu-level default handling for the event will not occur (i.e. media player control, menu navigation, power, etc.).
UIComponent - the UIComponent object to target the event at, can be retrieved using GetUIComponentForVariable API callCommand - the name of the command to sendRepeatCount - the number of times to send the command
public java.lang.Object GetChildUIComponentForVariable(java.lang.Object UIComponent,
java.lang.String MatchName,
java.lang.Object MatchValue)
UIComponent - the UI component who's children should be searchedMatchName - the name of the variable to matchMatchValue - the value of the variable to match on
public java.lang.Object GetVariableFromUIComponent(java.lang.Object UIComponent,
java.lang.String VarName)
UIComponent - the UI component who's variable should be returnedVarName - the name of the variable to lookup
public void PassiveListen()
public java.util.Vector GetAiringsThatWontBeRecorded(boolean OnlyUnresolved)
OnlyUnresolved - if true then only unresolved scheduling conflicts will be returned, if false then all conflicts will be returned
public boolean IsClient()
public boolean IsRemoteUI()
public boolean IsDesktopUI()
public boolean IsServerUI()
public java.lang.String[] GetConnectedClients()
public java.lang.String[] GetUIContextNames()
public java.lang.String GetUIContextName()
GetUIContextNames()
for more information.
public java.lang.String GetRemoteClientVersion()
public java.lang.String GetRemoteUIType()
public java.lang.Object CreateTimedRecording(sage.Channel Channel,
long StartTime,
long StopTime,
java.lang.String Recurrence)
Channel - the Channel object that this recording should be performed onStartTime - the time the recording should beginStopTime - the time the recording should endRecurrence - the name of the recurrence to use; this can be either Once, Daily, Weekly or Continuous (Continuous as of V6.6)
(or a localized version of one of those); OR it can be a combination of any of the following strings to indicate specified
days: Su, Mo, Tu, We, Th, Fr, Sa (for example, MoTuWe to do Mondays, Tuesdays and Wednesdays)
public boolean IsFullScreen()
public void SetFullScreen(boolean FullScreen)
FullScreen - true if SageTV should be put into full screen mode, false if it should be put into windowed modepublic java.lang.String GetServerAddress()
public java.lang.String GetOS()
public boolean IsWindowsOS()
public boolean IsLinuxOS()
public boolean IsMacOS()
public java.lang.Object DVDBurnTheBurnList(sage.Playlist BurnList)
BurnList - the Playlist of all of the video files to burn to the DVD
public void DVDCancelBurn()
public java.lang.Object DVDGetCurrentBurnStatus()
public java.lang.Object CDBurnTheBurnList(sage.Playlist BurnList)
BurnList - the Playlist of all of the music files to burn to the CD
public void CDCancelBurn()
public java.lang.Object CDGetCurrentBurnStatus()
public java.lang.Object CDRipToLibrary(java.io.File LibraryDir,
java.lang.String BitrateKbps)
LibraryDir - the directory that the ripped files should be stored in, if the space on this disk is managed by SageTV it will make room for the files that are to be rippedBitrateKbps - the bitrate to use for the audio encoding in kilobits per second
public void CDCancelRip()
public java.lang.Object CDGetCurrentRipStatus()
public java.lang.Object StartFileCopy(java.lang.String Filename,
java.lang.String SourceDirectory,
java.io.File DestDirectory)
Filename - the name of the file in the SourceDirectory to copy, or null if the whole directory should be copiedSourceDirectory - the source directory for the file copy (smb:// paths are OK)DestDirectory - the destination directory for the file copy
public void CancelFileCopy()
public java.lang.Object GetFileCopyStatus()
public boolean StartFileDownload(java.lang.String ServerAddress,
java.lang.String SourceFile,
java.io.File DestFile)
ServerAddress - the address of the SageTV server to download from, or null if you're using SageTVClient and you want to download from the server you're connected to, or a valid smb, http or ftp URLSourceFile - the file path on the server you want to downloadDestFile - the destination file for the file download
public boolean StartBackgroundFileDownload(java.lang.String ServerAddress,
java.lang.String SourceFile,
java.io.File DestFile,
java.util.Properties RequestProperties)
ServerAddress - the address of the SageTV server to download from, or null if you're using SageTVClient and you want to download from the server you're connected to, or a valid smb, http or ftp URLSourceFile - the file path on the server you want to downloadDestFile - the destination file for the file downloadRequestProperties - a Properties object that specifies the request properties to use in an HTTP download request, can be null
public boolean StartCircularFileDownload(java.lang.String ServerAddress,
java.lang.String SourceFile,
java.io.File DestFile)
ServerAddress - the address of the SageTV server to download from, or null if you're using SageTVClient and you want to download from the server you're connected to, or a valid smb, http or ftp URLSourceFile - the file path on the server you want to downloadDestFile - the destination file for the file download
public void CancelFileDownload()
public void CancelBackgroundFileDownload(java.io.File DestFile)
DestFile - the destination file specified in the original download requestpublic java.lang.Object GetFileDownloadStatus()
public java.lang.Object GetBackgroundFileDownloadStatus(java.io.File DestFile)
DestFile - the destination file specified in the original download request
public long GetFileDownloadStreamTime()
public boolean IsFileDownloadProgressivePlay()
public long GetBackgroundFileDownloadStreamTime(java.io.File DestFile)
DestFile - the destination file specified in the original download request
public boolean IsBackgroundFileDownloadProgressivePlay(java.io.File DestFile)
DestFile - the destination file specified in the original download request
public long GetBackgroundFileDownloadTotalSize(java.io.File DestFile)
DestFile - the destination file specified in the original download request
public boolean SetRemoteEventEncryptionEnabled(boolean EnableEncryption)
EnableEncryption - true if the MiniClient event channel should start encrypting events, false if it should stop
public void CachePlaceshifterLogin()
public boolean CanCachePlaceshifterLogin()
public void ReloadSystemHooks()
public void UpdateLocatorServer()
public int GetFullUIWidth()
public int GetFullUIHeight()
public int GetDisplayResolutionWidth()
public int GetDisplayResolutionHeight()
public java.lang.String GetDisplayResolution()
public java.lang.String[] GetDisplayResolutionOptions()
public java.lang.String[] GetPreferredDisplayResolutions()
public void SetDisplayResolution(java.lang.String Resolution)
Resolution - this must be a value from GetDisplayResolutionOptions() and should be the new desired output resolutionpublic java.lang.String[] DiscoverSageTVServers(long Timeout)
Timeout - the timeout for the discovery process in milliseconds
public boolean IsEmbeddedSystem()
public java.awt.Panel GetEmbeddedPanel()
public void SetEmbeddedPanelBounds(float x,
float y,
float width,
float height)
x - the relative X position (0.0-1.0)y - the relative Y position (0.0-1.0)width - the relative width (0.0-1.0)height - the relative height (0.0-1.0)public java.lang.String GetAvailableUpdate()
public void DeployAvailableUpdate(java.lang.String AvailableUpdate)
public java.lang.String[] GetLineupsForTvtv(java.lang.String Languages)
Languages - language, this parameter is currently ignored.
public java.lang.String TvtvGetHost()
public java.lang.String[] TvtvGetHostList()
public void TvtvCreateNewAccount()
public java.lang.String TvtvGetUser()
public void TvtvConfigureUser(java.lang.String Username,
java.lang.String Password,
java.lang.String Host)
Username - (as used during TvtvCreateNewAccount)Password - (stored in encrypted form)Host - (one of TvtvGetHostList)public java.lang.String TvtvGetAccountStatus()
public java.lang.String TvtvGetAccountStatusMessage()
public java.lang.String[] TvtvMessage(java.lang.String serial)
serial - null (to access the first message) OR serial value from last invocation
public void TvtvLogoLink()
public void TvtvCreateSpecificAccount()
public void TvtvActivateTrial()
public void TvtvDownloadStations(java.lang.String CaptureDeviceInput)
CaptureDeviceInput -
boolean TvtvConfigureInput(java.lang.String CaptureDeviceInput,
java.lang.String Username,
java.lang.String Password)
public java.util.Map GetHotplugStorageMap()
public boolean IsDoingLibraryImportScan()
public java.util.Set GetFailedNetworkMounts()
|
SageTV Platform V7.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||