How to use the Android Driver and iOS driver in a single class?

How to use the Android Driver and iOS driver in a single class