SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   SageTV Studio (http://forums.sagetv.com/forums/forumdisplay.php?f=34)
-   -   Calling nonstatic methods in studio (http://forums.sagetv.com/forums/showthread.php?t=63595)

CollegeProject 10-11-2016 07:30 AM

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?

tmiranda 10-11-2016 01:52 PM

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.


All times are GMT -6. The time now is 03:28 PM.

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