returns the instance id for this service if a remote device offers multiple services with the same uuid ex . multiple battery services for different batteries , the instance id is used to distuinguish services . concode_field_sep int SERVICE_TYPE_PRIMARY concode_elem_sep UUID mUuid concode_elem_sep List<BluetoothGattCharacteristic> mCharacteristics concode_elem_sep boolean mAdvertisePreferred concode_elem_sep BluetoothDevice mDevice concode_elem_sep int mInstanceId concode_elem_sep int mHandles concode_elem_sep List<BluetoothGattService> mIncludedServices concode_elem_sep int SERVICE_TYPE_SECONDARY concode_elem_sep int mServiceType concode_field_sep void setHandles concode_elem_sep void setAdvertisePreferred concode_elem_sep void addIncludedService concode_elem_sep boolean isAdvertisePreferred concode_elem_sep int getHandles concode_elem_sep BluetoothDevice getDevice concode_elem_sep boolean addService concode_elem_sep boolean addCharacteristic concode_elem_sep int getType concode_elem_sep UUID getUuid concode_elem_sep void setInstanceId concode_elem_sep List<BluetoothGattService> getIncludedServices concode_elem_sep BluetoothGattCharacteristic getCharacteristic concode_elem_sep BluetoothGattCharacteristic getCharacteristic concode_elem_sep List<BluetoothGattCharacteristic> getCharacteristics
int function ( ) { return mInstanceId ; }