Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Komag
Roku Guru

Re: SDK Docs: links to fix, missing/broken/etc

Oh my goodness :oops: :FACEPALM: For some reason my brain was thinking "OR", sorry!
0 Kudos
EnTerr
Roku Guru

Re: SDK Docs: links to fix, missing/broken/etc

0 Kudos
adamkaz
Channel Surfer

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

print "Unknown event: "; msg.GetType(); " msg: ";sg.GetMessage()


should be:
print "Unknown event: "; msg.GetType(); " msg: "msg.GetMessage()
0 Kudos
RokuKC
Roku Employee
Roku Employee

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/roSearchScreen

print "Unknown event: "; msg.GetType(); " msg: ";sg.GetMessage()


should be:
print "Unknown event: "; msg.GetType(); " msg: "msg.GetMessage()


Fixed, thanks.
0 Kudos
adamkaz
Channel Surfer

Re: SDK Docs: links to fix, missing/broken/etc

Fixed.
Not really wrong, but
SetSearchButtonText(text as String) as Void
shows up twice on the ifSearchScreen page.
0 Kudos
EnTerr
Roku Guru

Re: SDK Docs: links to fix, missing/broken/etc

0 Kudos
RokuMarkn
Visitor

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
0 Kudos
EnTerr
Roku Guru

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
<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
... and made wrong conclusion. Might have also been the non-alphabetic order on the page, since i did not see the ".get()"
0 Kudos
adamkaz
Channel Surfer

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:
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.
0 Kudos
adamkaz
Channel Surfer

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.
0 Kudos