MIXED

const val MIXED: String

Location provider emits both mocked and real locations. Used for cases when you need to switch location providers in runtime, for example, if you have a toggle that enables/disables location simulation. Note that mocked locations emitted by a location provider with type "mixed" must have isMock extra set to true, while real locations must have it set to false or not set at all. To set this flag, use:

Location.Builder#extra(Value.valueOf(hashMapOf(LocationExtraKeys.IS_MOCK to Value.valueOf(true/false))))