Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
Passing Associative Array with Functions to Interface Strips Them?
I have a situation where I've created an object using an associate array and inline functions and I need to pass it to a SceneGraph component via an interface using the "assocarray" type. When I try to do that the functions are "stripped" from the object's associative array and replace with "invalid".
Re: Passing Associative Array with Functions to Interface Strips Them?
Yes, that is a limitation of RSG. Node fields do not support function types in any way - regardless if direct or deeply-nested in roAA/roArray. Current implementation strips them silently on assignment.