005: o = CreateObject("roAssociativeArray")
006:
007: 'Methods
008: o.Show = springboard_show
009: o.ReloadButtons = springboard_reload_buttons
010: screen = CreateObject("roSpringboardScreen")
011: screen.SetDescriptionStyle("audio")
012: screen.AllowUpdates(true)
013: screen.SetMessagePort(port)
014: screen.SetStaticRatingEnabled(false)
015: screen.setProgressIndicatorEnabled(true)
016: screen.AllowNavRight(true)
017: screen.AllowNavLeft(true)
018: screen.AllowNavRewind(true)
019: screen.AllowNavFastForward(true)
020: o.screen = screen 'keep alive as long as parent holds me
021:
022: return o
023:
024: End Function
/tmp/plugin/4KoHVm/pkg:/source/springboard.brs(18): runtime error f4: Member function not found in BrightScript Component or interface.
018: screen.AllowNavRewind(true)
Function IsAllowNavRewindSupported() As Boolean
version = CreateObject("roDeviceInfo").GetVersion()
major = Mid(version, 3, 1)
minor = Mid(version, 5, 2)
if Val(major) < 2 then
return false
else if Val(major) = 2 then
if Val(minor) < 6 then
return false
end if
end if
return true
End Function