Ignore:
Timestamp:
Sep 24, 2019 11:12:45 AM (5 years ago)
Author:
nanang
Message:

Close #2233: Changed enumeration approach in SWIG Java to type-unsafe enums.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/swig/java/android/app/src/main/java/org/pjsip/pjsua2/app/MainActivity.java

    r6036 r6075  
    583583    } 
    584584 
    585     public void notifyRegState(pjsip_status_code code, String reason, 
     585    public void notifyRegState(int code, String reason, 
    586586                               long expiration) 
    587587    { 
     
    592592            msg_str += "Registration"; 
    593593 
    594         if (code.swigValue()/100 == 2) 
     594        if (code/100 == 2) 
    595595            msg_str += " successful"; 
    596596        else 
Note: See TracChangeset for help on using the changeset viewer.