Code example for Location

Methods: getBearing

0
    public void setBearing(float bearing) {
        mLocation.setBearing(bearing);
    } 
 
    public float getBearing() { 
        return mLocation.getBearing();
    } 
 
    public boolean hasSpeed() { 
        return mLocation.hasSpeed();
    } 
 
    public void setSpeed(float speed) {
        mLocation.setSpeed(speed);
    } 
 
    public float getSpeed() { 
        return mLocation.getSpeed();
    }