PluginHostType in Plugin

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

Just do

PluginHostType hostType;
1 Like

I feel stupid now… :wink:

1 Like

You’re not the first to ask that!

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.

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

2 Likes