1 // Copyright 2015-present 650 Industries. All rights reserved. 2 3 @objc 4 public protocol DevMenuManagerProtocol { 5 /** 6 Whether the dev menu window is visible on the device screen. 7 */ 8 @objc 9 var isVisible: Bool { get } 10 11 /** 12 Opens up the dev menu. 13 */ 14 @objc 15 @discardableResult 16 func openMenu() -> Bool 17 18 /** 19 Sends an event to JS to start collapsing the dev menu bottom sheet. 20 */ 21 @objc 22 @discardableResult 23 func closeMenu() -> Bool 24 25 /** 26 Forces the dev menu to hide. Called by JS once collapsing the bottom sheet finishes. 27 */ 28 @objc 29 @discardableResult 30 func hideMenu() -> Bool 31 32 /** 33 Toggles the visibility of the dev menu. 34 */ 35 @objc 36 @discardableResult 37 func toggleMenu() -> Bool 38 } 39