SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio

Notices

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-11-2016, 07:30 AM
CollegeProject CollegeProject is offline
Sage Advanced User
 
Join Date: Aug 2016
Location: USA
Posts: 119
Calling nonstatic methods in studio

Is this possible? I know how to call static methods within studio but can you call nonstatic methods? And if so how?
Reply With Quote
  #2  
Old 10-11-2016, 01:52 PM
tmiranda's Avatar
tmiranda tmiranda is online now
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,805
Very possible:

To create the object: someObj = new_fully_Qualified_SomeObjConstructor()

Then to use it pass the obj as the first parameter: fully_Qualified_method(someObj, parm1, parm2)

Search the default STV for new_java_lang_Long and you will see more examples.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Swapping Tuning Methods - The Easy Way? RBraverman Hardware Support 0 08-26-2016 05:06 PM
Calling methods on "Custom" Objects broconne SageTV Studio 5 11-03-2010 04:58 PM
Channel Changing Methods on Comcast STB Greg Hardware Support 5 01-30-2009 04:37 PM
Help calling Java from Studio Tiki SageTV Studio 3 12-31-2008 12:51 PM
Calling custom java classes from studio davin SageTV Studio 9 11-09-2005 11:50 AM


All times are GMT -6. The time now is 02:10 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.