本文整理汇总了Java中com.adobe.fre.FRETypeMismatchException类的典型用法代码示例。如果您正苦于以下问题:Java FRETypeMismatchException类的具体用法?Java FRETypeMismatchException怎么用?Java FRETypeMismatchException使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
FRETypeMismatchException类属于com.adobe.fre包,在下文中一共展示了FRETypeMismatchException类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: FREIapItem
import com.adobe.fre.FRETypeMismatchException; //导入依赖的package包/类
public FREIapItem(String jsonData)
throws FRETypeMismatchException, FREInvalidObjectException,
FREASErrorException, FRENoSuchNameException,
FREWrongThreadException, IllegalStateException, FREReadOnlyException {
super(CLASS_NAME, null);
setProperty("jsonData", FREObject.newObject(jsonData));
}
开发者ID:wastedabuser,项目名称:samsung-iap,代码行数:9,代码来源:FREIapItem.java
示例2: FREIapPurchasedItem
import com.adobe.fre.FRETypeMismatchException; //导入依赖的package包/类
public FREIapPurchasedItem(String jsonData)
throws FRETypeMismatchException, FREInvalidObjectException,
FREASErrorException, FRENoSuchNameException,
FREWrongThreadException, IllegalStateException, FREReadOnlyException {
super(CLASS_NAME, null);
setProperty("jsonData", FREObject.newObject(jsonData));
}
开发者ID:wastedabuser,项目名称:samsung-iap,代码行数:9,代码来源:FREIapPurchasedItem.java
示例3: FREIapPurchase
import com.adobe.fre.FRETypeMismatchException; //导入依赖的package包/类
public FREIapPurchase(String jsonData, String itemId, int statusCode, String errorString)
throws FRETypeMismatchException, FREInvalidObjectException,
FREASErrorException, FRENoSuchNameException,
FREWrongThreadException, IllegalStateException, FREReadOnlyException {
super(CLASS_NAME, null);
setProperty("jsonData", FREObject.newObject(jsonData));
setProperty("itemId", FREObject.newObject(itemId));
setProperty("statusCode", FREObject.newObject(statusCode));
if (errorString != null) setProperty("errorString", FREObject.newObject(errorString));
}
开发者ID:wastedabuser,项目名称:samsung-iap,代码行数:12,代码来源:FREIapPurchase.java
示例4: getBytes
import com.adobe.fre.FRETypeMismatchException; //导入依赖的package包/类
private byte[] getBytes(FREContext context, FREArray array) throws IllegalStateException, IllegalArgumentException, FREInvalidObjectException, FREWrongThreadException, FRETypeMismatchException {
byte[] bytes = new byte[(int) array.getLength()];
for (int i = 0; i < array.getLength(); i++) {
bytes[i] = (byte) array.getObjectAt(i).getAsInt();
}
return bytes;
}
开发者ID:alebianco,项目名称:ANE-Android-Expansion,代码行数:9,代码来源:SetMarketSecurity.java
示例5: getFiles
import com.adobe.fre.FRETypeMismatchException; //导入依赖的package包/类
private ExpansionFile[] getFiles(FREArray list, FREContext context) throws FREInvalidObjectException, FREWrongThreadException, IllegalStateException, FRETypeMismatchException, FREASErrorException, FRENoSuchNameException {
ExpansionFile[] xapks = new ExpansionFile[(int) list.getLength()];
for (int i = 0; i < list.getLength(); i++) {
FREObject file = list.getObjectAt(i);
boolean main = file.getProperty("main").getAsBool();
int version = file.getProperty("version").getAsInt();
long size = (long) file.getProperty("size").getAsInt();
xapks[i] = new ExpansionFile(main, version, size);
}
return xapks;
}
开发者ID:alebianco,项目名称:ANE-Android-Expansion,代码行数:17,代码来源:UnzipExpansionContent.java
注:本文中的com.adobe.fre.FRETypeMismatchException类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论