package com.pushdeer.os.store

import android.content.Context
import com.wh.common.store.Store

class SettingStore(context:Context) {
    val store = Store.create(context,"setting")

    var userToken by store.string("user-token","")
    var deviceName by store.string("device-name","My Dear Deer")
    var useRecv by store.boolean("use-recv",false) // 启用接收
    var useSend by store.boolean("use-send",false)
    var useSendNotification by store.boolean("use-send-notification",false)
    var notificationPackages by store.stringSet("notification-packages", emptySet())
    var useSendMissedCall by store.boolean("use-send=missed-call",false)
    var useSendSMS by store.boolean("use-send-sms",false)

    var showMessageSender by store.boolean("show-message-sender",true)
    var thisPushSdk by store.string("this-push-sdk","mi-push")
    var thisDeviceId by store.string("this-device-id","")
}