how to get the navigationbar state information? eg:show,hide navigationbar mode: 'gesture' | '3-button' | '2-button' | 'unknown';