@Nullable synchronized fun hasSceneMode(mode: java.lang.String): boolean
Check if the current state has scene mode is available.
mode
- java.lang.String: scene mode.
Return
boolean: return the accepted mode, it can be the same as requested or a supported fallback mode.