Custom ro*** Objects

Can you create custom ro*** objects? I’d like to create roMyObject with its own properties and methods. Makes me miss OOP.

Yes and no. You can’t build your own native components, but you can build your own reusable classes/components in BrightScript.

“RokuChris” wrote:
Yes and no. You can’t build your own native components, but you can build your own reusable classes/components in BrightScript.
Is there documentation on this?

I believe RokuChris is referring to using roAssociativeArray http://sdkdocs.roku.com/display/sdkdoc/roAssociativeArray for this purpose - member variables can be object instances, including function references - either defined as an inline anonomous function or a named reference to an function/sub defined elsewhere. Member function references can be invoked. The SDK sample code contains many examples of this.