EventSpa.fileOpenedInLink constructor
EventSpa.fileOpenedInLink({})
Use this constructor is user click link and open the file
Open file is current regular: pdf|xlsx?|docx?|txt|rtf|csv|exe|key|pp(s|t|tx)|7z|pkg|rar|gz|zip|avi|mov|mp4|mpe?g|wmv|midi?|mp3|wav|wma
linkUri
is the link that was opened
linkId
is the link id
linkText
is the link text
linkDomain
is the link domain
linkClassed
is the link classed
fileName
is the file name
fileExtension
is the file extension
Implementation
EventSpa.fileOpenedInLink({
required String linkUri,
required String linkId,
required String linkText,
required String linkDomain,
required String linkClassed,
required String fileName,
required String fileExtension,
}) : this(
eventType: "file_opened",
customParam: {
'link_uri': linkUri,
'link_id': linkId,
'link_text': linkText,
'link_domain': linkDomain,
'link_classed': linkClassed,
'file_name': fileName,
'file_extension': fileExtension,
},
);