Sending a location object

To send a location object, retrieve the location of the phone first and pass it as a parameter to the process method, as shown below:

import com.medallia.mxo.process

location.process()
import com.medallia.mxo.MedalliaMXO;

MedalliaMXO.process(location);

To see how to get the last known location from the phone, see Get the last known location.