Helper functions in Roku

By The Zype Team on June 24, 2019

In this blog, I will write a small scenegraph function which will help to develop Roku channel.

Screen-Shot-2019-06-28-at-11_37_51-AM-1024x691 (1)

Screen-Shot-2019-06-28-at-11_38_09-AM-1024x356 (1)

Screen-Shot-2019-06-28-at-11_38_25-AM

Brighscript

Determine if the given object is invalid or supports
the ifString interface and returns a string of non zero length

Brighscript

Determine if the given object supports the ifString interface

Brighscript

Determine if the given object supports the ifBoolean interface

Brighscript

Determine if the given object supports the ifFloat interface

Brighscript

Convert string to boolean.

Screen-Shot-2019-06-28-at-11_46_58-AM-1024x332 (1)

Get remaining hours from a total seconds

Code and script

Get remaining minutes from a total seconds

Screen-Shot-2019-06-28-at-11_48_47-AM-1024x202 (1)

 

Harness the power of Zype's video infrastructure