Skip to main content

didShowPanel

Introduction

The didShowPanel(_:) method notifies the SDK that the MaestroPanel has been displayed in your app. This allows the SDK to update its internal state and perform any actions needed based on the panel’s visibility. The method accepts a PanelType parameter, which specifies the type of panel being shown.

PanelType Options

The PanelType enumeration defines the following options:

PanelTypeLabel TextImage Name Prefix
keyPlaysKEY PLAYSKey-Plays
statsSTATSStats
fantasyFANTASYFantasy
betsBETSBets
shopSHOPShop

Parameters

ParameterTypeDescriptionExample
panelTypePanelTypeThe type of panel that has been displayed..keyPlays

Code Example

// Notify the SDK that the MaestroPanel of type `keyPlays` is now visible.
eventInterface.didShowPanel(.keyPlays)