Skip to content

Commit 4c8b069

Browse files
committed
Update code docs
1 parent fdf0a36 commit 4c8b069

5 files changed

Lines changed: 153 additions & 52 deletions

docs/components_JRScreen.bs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
' initialize the log manager. second param sets log output:
88
' 1 error, 2 warn, 3 info, 4 verbose, 5 debug
99
#if debug
10-
m.top._rLog = log.initializeLogManager(["log_PrintTransport"], 5) ' Debug mode: show all logs (info + verbose + debug)
10+
log.initializeLogManager(["log_PrintTransport"], 5) ' Debug mode: show all logs (info + verbose + debug)
1111
#else
12-
m.top._rLog = log.initializeLogManager(["log_PrintTransport"], 2) ' Production mode: show warn and error only
12+
log.initializeLogManager(["log_PrintTransport"], 2) ' Production mode: show warn and error only
1313
#end if
1414
end sub
1515
' Function called when the screen is displayed by the screen manager

docs/components_home_Home.bs.html

Lines changed: 149 additions & 11 deletions
Large diffs are not rendered by default.

docs/data/search.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/module-deviceCapabilities.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/source_utils_deviceCapabilities.bs.html

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
"AppStoreUrl": ""
2222
}
2323

24-
printDeviceProfile(deviceProfile)
25-
2624
return deviceProfile
2725
end function
2826

@@ -990,41 +988,6 @@
990988
return value
991989
end function
992990

993-
' Print out the deviceProfile for debugging
994-
sub printDeviceProfile(profile as object)
995-
#if debug
996-
print "profile =", profile
997-
print "profile.DeviceProfile =", profile.DeviceProfile
998-
print "profile.DeviceProfile.CodecProfiles ="
999-
for each prof in profile.DeviceProfile.CodecProfiles
1000-
print prof
1001-
for each cond in prof.Conditions
1002-
print cond
1003-
end for
1004-
end for
1005-
print "profile.DeviceProfile.ContainerProfiles =", profile.DeviceProfile.ContainerProfiles
1006-
print "profile.DeviceProfile.DirectPlayProfiles ="
1007-
for each prof in profile.DeviceProfile.DirectPlayProfiles
1008-
print prof
1009-
end for
1010-
print "profile.DeviceProfile.SubtitleProfiles ="
1011-
for each prof in profile.DeviceProfile.SubtitleProfiles
1012-
print prof
1013-
end for
1014-
print "profile.DeviceProfile.TranscodingProfiles ="
1015-
for each prof in profile.DeviceProfile.TranscodingProfiles
1016-
print prof
1017-
if isValid(prof.Conditions)
1018-
for each condition in prof.Conditions
1019-
print condition
1020-
end for
1021-
end if
1022-
end for
1023-
print "profile.PlayableMediaTypes =", profile.PlayableMediaTypes
1024-
print "profile.SupportedCommands =", profile.SupportedCommands
1025-
#end if
1026-
end sub
1027-
1028991
' does this roku device support playing 4k video?
1029992
function canPlay4k() as boolean
1030993
deviceInfo = CreateObject("roDeviceInfo")

0 commit comments

Comments
 (0)