
Komag
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2015
11:24 AM
Re: SDK Docs: links to fix, missing/broken/etc
Oh my goodness :oops: :FACEPALM: For some reason my brain was thinking "OR", sorry!
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2015
10:30 AM
Re: SDK Docs: links to fix, missing/broken/etc
- [fixed]
roImageCanvas apparently takes colors as ARGB (not RGBA) but that is undocumented - [fixed]
roImageCanvas overall is lacking in documentation - like how to paint rectangles. Is there more useful arcana?
adamkaz
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2015
07:36 AM
Re: SDK Docs: links to fix, missing/broken/etc
There is a typo in the example on the roSearchScreen page: http://sdkdocs.roku.com/display/sdkdoc/roSearchScreen
should be:
print "Unknown event: "; msg.GetType(); " msg: ";sg.GetMessage()
should be:
print "Unknown event: "; msg.GetType(); " msg: "msg.GetMessage()


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2015
11:11 AM
Re: SDK Docs: links to fix, missing/broken/etc
"adamkaz" wrote:
There is a typo in the example on the roSearchScreen page: http://sdkdocs.roku.com/display/sdkdoc/roSearchScreenprint "Unknown event: "; msg.GetType(); " msg: ";sg.GetMessage()
should be:print "Unknown event: "; msg.GetType(); " msg: "msg.GetMessage()
Fixed, thanks.
adamkaz
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2015
11:43 AM
Re: SDK Docs: links to fix, missing/broken/etc
Fixed.
Not really wrong, but
SetSearchButtonText(text as String) as Voidshows up twice on the ifSearchScreen page.
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2015
01:33 PM
Re: SDK Docs: links to fix, missing/broken/etc
- [invalid]
ifFontRegistry method to get a font apparently is named .get(...)[/url:3vob3qed] and not .getFont(...)

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2015
03:20 PM
Re: SDK Docs: links to fix, missing/broken/etc
They both exist and are documented.
GetFont() returns an roFont object, for use with roScreen/roBitmap.
Get() returns a font description string for use with roImageCanvas.
Does this need more clarification in the docs?
--Mark
GetFont() returns an roFont object, for use with roScreen/roBitmap.
Get() returns a font description string for use with roImageCanvas.
Does this need more clarification in the docs?
--Mark
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2015
05:22 PM
Re: SDK Docs: links to fix, missing/broken/etc
My bad on this one! I saw the thread, did a quick check:
BrightScript Debugger> fr = createObject("roFontRegistry"): ? fr... and made wrong conclusion. Might have also been the non-alphabetic order on the page, since i did not see the ".get()"
<Component: roFontRegistry>
BrightScript Debugger> ? fr.Get("Open Sans",20,40,false)
Open Sans,20,-1,5,2,0,0,0,0,0
BrightScript Debugger> ? fr.getFont("Open Sans",20,40,false)
invalid
adamkaz
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2015
04:22 PM
Re: SDK Docs: links to fix, missing/broken/etc
Throughout the "Channel Packaging and Publishing" page, there are references to other sections. However the document does not appear to be broken down by section anymore.
http://sdkdocs.roku.com/display/sdkdoc/ ... Publishing
Example:
There is no section 3.4.
This is just one of the references, there are more.
http://sdkdocs.roku.com/display/sdkdoc/ ... Publishing
Example:
An erased key can be restored by rekeying the player as described in section 3.4.
There is no section 3.4.
This is just one of the references, there are more.
adamkaz
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2015
09:54 AM
Re: SDK Docs: links to fix, missing/broken/etc
We're currently implementing Roku billing. A few things I've noticed:
The sample billing app crashes.
The documentation for ifChannelStore.getPurchases() states the following parameters will be returned:
String code
String name
String description
String SDPosterUrl
String HDPosterUrl
String cost (Localized cost with local currency symbol)
Integer qty
Here are the parameters that I am seeing returned:
String code
String cost
Integer qty
-- String name
-- String description
-- String SDPosterUrl
-- String HDPosterUrl
++ String purchaseId
++ String productType
++ String purchaseDate
++ Integer freeTrialQuantity
We need the transactionID (assuming that is what purchaseID is) to verify subscriptions throughout the rest of our platform, so I was happy to find we could get it later if there was a problem registering it at the time of transaction.
The sample billing app crashes.
The documentation for ifChannelStore.getPurchases() states the following parameters will be returned:
String code
String name
String description
String SDPosterUrl
String HDPosterUrl
String cost (Localized cost with local currency symbol)
Integer qty
Here are the parameters that I am seeing returned:
String code
String cost
Integer qty
-- String name
-- String description
-- String SDPosterUrl
-- String HDPosterUrl
++ String purchaseId
++ String productType
++ String purchaseDate
++ Integer freeTrialQuantity
We need the transactionID (assuming that is what purchaseID is) to verify subscriptions throughout the rest of our platform, so I was happy to find we could get it later if there was a problem registering it at the time of transaction.