quickblox - binary operator |= cannot be applied to two AVAudioSessionCategoryOptions operands -


error on binary operator |= cannot applied 2 avaudiosessioncategoryoptions operands in swift 3.1. need help

here code

qbrtcaudiosession.instance().initialize { (configuration: qbrtcaudiosessionconfiguration) in          configuration.categoryoptions != avaudiosessioncategoryoptions.allowbluetooth  } 

here solution found

qbrtcaudiosession.instance().initialize { (configuration: qbrtcaudiosessionconfiguration) in          configuration.categoryoptions = [configuration.categoryoptions, avaudiosessioncategoryoptions.allowbluetooth] } 

Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -