Using Roku libraries
Use Roku code libraries and SceneGraph component libraries when an application needs native integration or reusable packaged functionality.
Keep the application-facing contract typed. Create a browser mock for simulator development, then verify the real implementation on Roku hardware.
- Roku code libraries describes reusable BrightScript code.
- Roku component libraries describes packaged SceneGraph components.
- Native Roku development explains the native boundary and generated wrappers.
Keep node ownership, field observation and cleanup in the owning Hosanna view or service. Test the simulator contract and native component behavior separately.