Determine if user is in speaker or gallery mode

Is there a way to determine whether a user is in gallery mode or in speaker mode during a zoom call using the JS zoom sdk, webhooks or the api?

@neil.jones It doesn’t look like we have an API for this just yet. Can you share a bit on your use case for determining the view?