org.robovm.libimobiledevice.binding.LockdowndPairRecordStruct Maven / Gradle / Ivy
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (https://www.swig.org).
* Version 2.0.4
*
* Do not make changes to this file unless you know what you are doing - modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package org.robovm.libimobiledevice.binding;
public class LockdowndPairRecordStruct {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected LockdowndPairRecordStruct(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(LockdowndPairRecordStruct obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected static long swigRelease(LockdowndPairRecordStruct obj) {
long ptr = 0;
if (obj != null) {
if (!obj.swigCMemOwn)
throw new RuntimeException("Cannot release ownership as memory is not owned");
ptr = obj.swigCPtr;
obj.swigCMemOwn = false;
obj.delete();
}
return ptr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
LibIMobileDeviceJNI.delete_LockdowndPairRecordStruct(swigCPtr);
}
swigCPtr = 0;
}
}
public void setDevice_certificate(String value) {
LibIMobileDeviceJNI.LockdowndPairRecordStruct_device_certificate_set(swigCPtr, this, value);
}
public String getDevice_certificate() {
return LibIMobileDeviceJNI.LockdowndPairRecordStruct_device_certificate_get(swigCPtr, this);
}
public void setHost_certificate(String value) {
LibIMobileDeviceJNI.LockdowndPairRecordStruct_host_certificate_set(swigCPtr, this, value);
}
public String getHost_certificate() {
return LibIMobileDeviceJNI.LockdowndPairRecordStruct_host_certificate_get(swigCPtr, this);
}
public void setRoot_certificate(String value) {
LibIMobileDeviceJNI.LockdowndPairRecordStruct_root_certificate_set(swigCPtr, this, value);
}
public String getRoot_certificate() {
return LibIMobileDeviceJNI.LockdowndPairRecordStruct_root_certificate_get(swigCPtr, this);
}
public void setHost_id(String value) {
LibIMobileDeviceJNI.LockdowndPairRecordStruct_host_id_set(swigCPtr, this, value);
}
public String getHost_id() {
return LibIMobileDeviceJNI.LockdowndPairRecordStruct_host_id_get(swigCPtr, this);
}
public void setSystem_buid(String value) {
LibIMobileDeviceJNI.LockdowndPairRecordStruct_system_buid_set(swigCPtr, this, value);
}
public String getSystem_buid() {
return LibIMobileDeviceJNI.LockdowndPairRecordStruct_system_buid_get(swigCPtr, this);
}
public LockdowndPairRecordStruct() {
this(LibIMobileDeviceJNI.new_LockdowndPairRecordStruct(), true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy