class: OpenSetting

app跳转系统设置

func:

  • openSystemSetting()
    跳转当前app应用设置
  • openSystemGeneral()
    跳转通用
  • openSystemNotification()
    跳转通知
  • openSystemPrivacy()
    跳转隐私
  • openSystemPhotos()
    跳转隐私->照片
  • openSystemCamera()
    跳转隐私->相机
  • openSystemContacts()
    跳转隐私->通讯录
  • openSystemLocation()
    跳转隐私->定位
  • openSystemMobileData()
    跳转蜂窝移动网络
  • openSystemWifi()
    跳转Wifi

使用注意

  • openSystemSetting()!!!新项目,需要请求一下位置权限或者通知权限,才可以跳进自己的app设置里面,如果没有任何权限请求,则不能跳转

使用

OpenSetting.openSystemSetting()
OpenSetting.openSystemWifi()
OpenSetting.openSystemPhotos()
OpenSetting.openSystemCamera()
OpenSetting.openSystemContacts()
OpenSetting.openSystemGeneral()
OpenSetting.openSystemPrivacy()
OpenSetting.openSystemLocation()
OpenSetting.openSystemMobileData()
OpenSetting.openSystemNotification()

results matching ""

    No results matching ""