点击或拖拽改变大小

KeepAlive 类

应用后台保活插件
继承层次

命名空间:  Smobiler.Plugins.KeepAlive
程序集:  Smobiler.Plugins (在 Smobiler.Plugins.dll 中) 版本:6.0.641.16928
语法
public class KeepAlive : MobileComponent

KeepAlive 类型公开以下成员。

构造函数
  名称说明
公共方法KeepAlive
应用后台保活插件
Top
属性
  名称说明
公共属性Form
获取组件所属窗体
(继承自 MobileComponent。)
公共属性Name
获取或设置控件的名称。
(继承自 MobileComponent。)
公共属性Parent
获取控件的父控件MobileParentControl。
(继承自 MobileComponent。)
Top
方法
  名称说明
公共方法CloseNotication
关闭状态栏常驻通知
公共方法IsIgnoringBattery
app是否开启后台运行(android 8以上系统支持,android 8以下设备默认返回true)
公共方法IsNotication
通知权限是否开启
公共方法OpenIgnoreSetting
开启手机厂商应用管家自启管理
公共方法OpenNotication
跳转开启通知界面]
公共方法RequestIgnoreBattery
app申请开启后台运行(android 8以上系统支持,android 8以下设备默认返回true)
公共方法StartNotication
开启状态栏常驻通知
Top
参见