作者:patrick0129_645 | 来源:互联网 | 2023-09-17 18:01
本文整理了Java中org.robovm.apple.foundation.NSError.domain()
方法的一些代码示例,展示了NSError.domain()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。NSError.domain()
方法的具体详情如下:
包路径:org.robovm.apple.foundation.NSError
类名称:NSError
方法名:domain
NSError.domain介绍
暂无
代码示例
代码示例来源:origin: robovm/robovm
@MarshalsPointer
public static NSError toObject(Class extends NSError> cls, long handle, long flags) {
if (handle == 0) {
return null;
}
String domain = domain(handle);
Class extends NSError> nsErrorClass = allNSErrorClasses.get(domain);
if (nsErrorClass != null) {
cls = nsErrorClass;
}
NSError o = (NSError) ObjCObject.toObjCObject(cls, handle, 0, true);
return o;
}
@MarshalsPointer
代码示例来源:origin: com.mobidevelop.robovm/robovm-cocoatouch
@MarshalsPointer
public static NSError toObject(Class extends NSError> cls, long handle, long flags) {
if (handle == 0) {
return null;
}
String domain = domain(handle);
Class extends NSError> nsErrorClass = allNSErrorClasses.get(domain);
if (nsErrorClass != null) {
cls = nsErrorClass;
}
NSError o = (NSError) ObjCObject.toObjCObject(cls, handle, 0, true);
return o;
}
@MarshalsPointer
代码示例来源:origin: com.gluonhq/robovm-cocoatouch
@MarshalsPointer
public static NSError toObject(Class extends NSError> cls, long handle, long flags) {
if (handle == 0) {
return null;
}
String domain = domain(handle);
Class extends NSError> nsErrorClass = allNSErrorClasses.get(domain);
if (nsErrorClass != null) {
cls = nsErrorClass;
}
NSError o = (NSError) ObjCObject.toObjCObject(cls, handle, 0, true);
return o;
}
@MarshalsPointer