Player APIs (BrightScript & Ja...
...
Hashing and Storage Objects
roDiskErrorEvent
4 min
this object is returned while waiting on a message port that is connected to an rodiskmonitor object 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 ifdiskerrorevent getdiskerror() as object returns an roassociativearray containing the following parameters true false 82,122false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type example aa = msgp getdiskerror() report = "time " + aa\["time"] + "error " + aa\["source"] + " " + aa\["error"] + " " + aa\["device"] + " " + aa\["param"] this example uses an implicit conversion of rodatetime you could also use rodatetime getstring()