阅读背景:

在Android客户端上使用Cloud Endpoint模型中包含的枚举

来源:互联网 

I'm trying to implement an enum in a entity called CargoWrapper. In my android app I'm constructing a CargoWrapper object to send to an endpoint method, and then calling my CargoWrapper setters to set the instance varialbes. One of CargoWrappers instance variables is an enum and it's indexed. The only methods generated for my front end are the setter and getters, I can't see the enum. Does anyone know how to set the enum instance variable from a android client, seems like it should be very straight forward?I'm trying to implement an enum in a entity cal




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: