SelectReturnedAttributes sets the attributes to be returned for each event category in the OnEvent callback.