Player APIs (BrightScript & Ja...
...
Object Reference
Content Management Objects
roAssetRealizerEvent
5min
this event object is returned by the roassetrealizer realize() method it yields information about the success or failure of the realization process ifassetrealizerevent getevent() as integer returns an integer value indicating the type of the event 101 event realize success the specified sync list was successfully realized 102 event realize incomplete realization could not begin because at least one of the required files is not available in the pool 103 event realize failed safe realization has failed nothing has been written to the destination, so it is likely safe to continue the realization process more information is about the failure is available via the getfailurereason() and getname() methods 104 event realize failed unsafe realization has failed while running, and changes have been made to destination files it may not be safe to continue the realization process more information about the failure is available via the getfailurereason() and getname() methods getname() as string retrieves the name of the affected file if the realization process fails getresponsecode() as integer retrieves the rourltransfer response code associated with the event (if any) getfailurereason() as string returns additional information if the realization process fails getfileindex() as integer retrieves the zero based index number of the the file in the sync spec ifuserdata setuserdata(user data as object) as void sets the user data getuserdata() as object returns the user data that has previously been set via setuserdata() (on either the event or source object) it will return invalid if no data has been set