本文整理汇总了Java中org.androidannotations.api.sharedpreferences.StringPrefField类的典型用法代码示例。如果您正苦于以下问题:Java StringPrefField类的具体用法?Java StringPrefField怎么用?Java StringPrefField使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
StringPrefField类属于org.androidannotations.api.sharedpreferences包,在下文中一共展示了StringPrefField类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: deviceSalt
import org.androidannotations.api.sharedpreferences.StringPrefField; //导入依赖的package包/类
public StringPrefField deviceSalt() {
return stringField("deviceSalt", "");
}
示例2: passwordSalt
import org.androidannotations.api.sharedpreferences.StringPrefField; //导入依赖的package包/类
public StringPrefField passwordSalt() {
return stringField("passwordSalt", "");
}
示例3: installationId
import org.androidannotations.api.sharedpreferences.StringPrefField; //导入依赖的package包/类
public StringPrefField installationId() {
return stringField("installationId", "");
}
示例4: protectionPrivacyLevel
import org.androidannotations.api.sharedpreferences.StringPrefField; //导入依赖的package包/类
public StringPrefField protectionPrivacyLevel() {
return (Me.MILITARY) ? stringField("protectionPrivacyLevel", "2") : stringField("protectionPrivacyLevel", "0");
}
示例5: messagingPrivacyLevel
import org.androidannotations.api.sharedpreferences.StringPrefField; //导入依赖的package包/类
public StringPrefField messagingPrivacyLevel() {
return (Me.MILITARY) ? stringField("messagingPrivacyLevel", "2") : stringField("messagingPrivacyLevel", "0");
}
示例6: smsRingTone
import org.androidannotations.api.sharedpreferences.StringPrefField; //导入依赖的package包/类
public StringPrefField smsRingTone() {
return stringField("smsRingTone", "");
}
示例7: isSet
import org.androidannotations.api.sharedpreferences.StringPrefField; //导入依赖的package包/类
public static boolean isSet(final StringPrefField field) {
return field.exists() && field.get().length() != 0;
}
示例8: email
import org.androidannotations.api.sharedpreferences.StringPrefField; //导入依赖的package包/类
public StringPrefField email() {
return stringField("email", "");
}
示例9: uuid
import org.androidannotations.api.sharedpreferences.StringPrefField; //导入依赖的package包/类
public StringPrefField uuid() {
return stringField("uuid", "");
}
示例10: pass
import org.androidannotations.api.sharedpreferences.StringPrefField; //导入依赖的package包/类
public StringPrefField pass() {
return stringField("pass", "");
}