Code example for ServiceState

Methods: getRoaming

0
     */ 
    public  void registerForRoamingOn(Handler h, int what, Object obj) {
        Registrant r = new Registrant(h, what, obj);
        mRoamingOnRegistrants.add(r);
 
        if (ss.getRoaming()) {
            r.notifyRegistrant();
        } 
    } 
 
    public  void unregisterForRoamingOn(Handler h) {
        mRoamingOnRegistrants.remove(h);
    } 
 
    /** 
     * Registration point for combined roaming off 
     * combined roaming is true when roaming is true and ONS differs SPN 
     * 
     * @param h handler to notify 
     * @param what what code of message when delivered 
     * @param obj placed in Message.obj