PluginHostType in Plugin


#1

Hi all,

for analytics I’m trying to have access to the PluginHostType. How is this accessible from within the plugin? I’ve been looking for a while now but can’t figure it out.

Thanks
Johannes


#2

Just do

PluginHostType hostType;

#3

I feel stupid now… :wink:


#4

You’re not the first to ask that!


#5

To be fair, the class doesn’t have any documentation… We should at least add a note saying that you should create one and then use it.


#6

@jules I’ll add it to the docs now.