Player APIs (BrightScript & Ja...
...
Object Reference
Hashing and Storage Objects

roStorageAttached, roStorageDetached

3min
these event objects are generated by the rostoragehotplug object whenever a storage device becomes attached or detached from the player the javascript equivalent is node js fs watch() ifuserdata setuserdata(user data as object) sets the user data that will be returned when events are raised getuserdata() as object returns the user data that has previously been set via setuserdata() it will return invalid if no data has been set ifstring getstring() as string setstring(a as string)