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: 
hayewood
Channel Surfer

Cannot set domain field when it is labeled as READ_WRITE

According to the documentation on Dynamic Keyboards (DynamicKeyboardBase ) the domain field is meant to be READ_WRITE and is meant to be updated when set to a specific string such as "alphanumeric", "generic", "numeric" etc. However, when setting this field, it remains invalid and does not update accordingly. 

    print m.keyboard.domain
    m.keyboard.domain = "numeric"
    print m.keyboard.domain

This code will print: 

invalid
invalid

Is this a bug with DynamicKeyboardBase? 

0 Kudos
1 REPLY 1
RokuJonathanD
Community Moderator
Community Moderator

Re: Cannot set domain field when it is labeled as READ_WRITE

Hi @hayewood,

This is scheduled to be fixed in the next Roku OS update. For now, setting the field value works correctly, but printing the field value will always print "invalid".

0 Kudos