Apex
Types
FileViewed
This custom apex type represents an output that Platform Events & Platform Events Apex Handler (Object Type) methods returns for the file-viewed platform event type. It has the following field(s)-
- String RecordId - Salesforce Record Id
- Double TimeSpent - Time Spent (In Seconds)
- String Email - Viewed By
- Boolean downloaded