本文整理汇总了Java中org.robovm.rt.bro.ptr.VoidPtr类的典型用法代码示例。如果您正苦于以下问题:Java VoidPtr类的具体用法?Java VoidPtr怎么用?Java VoidPtr使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
VoidPtr类属于org.robovm.rt.bro.ptr包,在下文中一共展示了VoidPtr类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: myTransitionDidStop
import org.robovm.rt.bro.ptr.VoidPtr; //导入依赖的package包/类
@Method(selector = "myTransitionDidStop:finished:context:")
private void myTransitionDidStop(String animationID, NSNumber finished, VoidPtr context) {
// re-enable user interaction when the flip animation is completed
getView().setUserInteractionEnabled(true);
flipIndicatorButton.setUserInteractionEnabled(true);
}
示例2: openFile
import org.robovm.rt.bro.ptr.VoidPtr; //导入依赖的package包/类
/**
* + (void *)openFile:(NSString *)baseName
* path:(NSString *)pathName;
*/
@Method(selector = "openFile:path:")
public static native VoidPtr openFile(NSString baseName, NSString pathName);
示例3: closeFile
import org.robovm.rt.bro.ptr.VoidPtr; //导入依赖的package包/类
/**
* + (void)closeFile:(void *)x;
*/
@Method(selector = "closeFile:")
public static native void closeFile(VoidPtr x);
示例4: alcGetProcAddress
import org.robovm.rt.bro.ptr.VoidPtr; //导入依赖的package包/类
@Bridge public static native VoidPtr alcGetProcAddress(@Pointer long device, String funcName);