当前位置: 首页 > news >正文

做招聘网站的怎么引流求职者aso安卓优化公司

做招聘网站的怎么引流求职者,aso安卓优化公司,商派商城网站建设公司,阳山做网站简介 Calendar Kit提供日历与日程管理能力,包括日历的获取和日程的创建能力。 Calendar Kit为用户提供了一系列接口来获取日历账户,并使用特定的接口向日历账户中写入日程。 如果写入的日程带有提醒时间则系统会在时间到达时向用户发送提醒。 约束点…

简介

Calendar Kit提供日历与日程管理能力,包括日历的获取和日程的创建能力。
在这里插入图片描述
Calendar Kit为用户提供了一系列接口来获取日历账户,并使用特定的接口向日历账户中写入日程。

如果写入的日程带有提醒时间则系统会在时间到达时向用户发送提醒。

约束点

  • 需要用户手动授权获取读取、写入日历日程的权限。

  • 仅支持stage模型。

  • 从api11开始支持

相关知识

配置需要的权限

在module.json5中配置所需申请的权限

"requestPermissions": [{"name": "ohos.permission.READ_CALENDAR",},{"name": "ohos.permission.WRITE_CALENDAR"}
]

在EntryAbility中配置权限和日历管理器

EntryAbility中检查用户是否确认权限:

import {abilityAccessCtrl,AbilityConstant,common,PermissionRequestResult,Permissions,UIAbility,Want
} from '@kit.AbilityKit';
import { hilog } from '@kit.PerformanceAnalysisKit';
import { window } from '@kit.ArkUI';
import { calendarManager } from '@kit.CalendarKit';
import { BusinessError } from '@kit.BasicServicesKit';/*** 日志管理器全局对象*/
export let calendarMgr: calendarManager.CalendarManager | null = null;export let mContext: common.UIAbilityContext | null = null;export default class EntryAbility extends UIAbility {onWindowStageCreate(windowStage: window.WindowStage): void {// Main window is created, set main page for this abilityhilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageCreate');windowStage.loadContent('pages/Index', (err) => {if (err.code) {hilog.error(0x0000, 'testTag', 'Failed to load the content. Cause: %{public}s', JSON.stringify(err) ?? '');return;}hilog.info(0x0000, 'testTag', 'Succeeded in loading the content.');});//检测用户是否授权日历权限mContext = this.context;const permissions: Permissions[] = ['ohos.permission.READ_CALENDAR', 'ohos.permission.WRITE_CALENDAR'];let atManager = abilityAccessCtrl.createAtManager();atManager.requestPermissionsFromUser(mContext, permissions).then((result: PermissionRequestResult) => {//给日历管理器赋值calendarMgr = calendarManager.getCalendarManager(mContext);}).catch((error: BusinessError) => {console.error(`get Permission error, error: ${JSON.stringify(error)}`);})}
}

日历管理器(CalendarManager)

提供了添加、删除、获取日历账户的相关方法。如果不需要关注日程(Event)的账户(Calendar)归属时,可以直接使用getCalendar方法直接获取。

相关方法如下:

  • createCalendar(calendarAccount: CalendarAccount, callback: AsyncCallback): void

  • createCalendar(calendarAccount: CalendarAccount): Promise

  • deleteCalendar(calendar: Calendar, callback: AsyncCallback): void

  • deleteCalendar(calendar: Calendar): Promise

  • getCalendar(callback: AsyncCallback): void

  • getCalendar(calendarAccount: CalendarAccount, callback: AsyncCallback): void

  • getCalendar(calendarAccount?: CalendarAccount): Promise

  • getAllCalendars(callback: AsyncCallback<Calendar[]>): void

  • getAllCalendars(): Promise<Calendar[]>

日历账户(Calendar)

可以对账户中的日程进行创建、删除、修改、查询等操作,还有日历配置信息、日历账户信息等方法

日程(Event)

在这里插入图片描述


文章转载自:
http://believe.wghp.cn
http://nitrosobacteria.wghp.cn
http://spelter.wghp.cn
http://triffidian.wghp.cn
http://interrobang.wghp.cn
http://filmscript.wghp.cn
http://quotient.wghp.cn
http://hydration.wghp.cn
http://clearweed.wghp.cn
http://evadingly.wghp.cn
http://tranquil.wghp.cn
http://overspeculate.wghp.cn
http://gladius.wghp.cn
http://beady.wghp.cn
http://headily.wghp.cn
http://nctm.wghp.cn
http://cesspool.wghp.cn
http://lsu.wghp.cn
http://pendent.wghp.cn
http://perceive.wghp.cn
http://twinned.wghp.cn
http://fulfillment.wghp.cn
http://ditch.wghp.cn
http://metoestrus.wghp.cn
http://carrycot.wghp.cn
http://deprecatory.wghp.cn
http://tare.wghp.cn
http://sense.wghp.cn
http://solan.wghp.cn
http://gastrovascular.wghp.cn
http://rusalka.wghp.cn
http://hormogonium.wghp.cn
http://carbonicacid.wghp.cn
http://synoecism.wghp.cn
http://biscay.wghp.cn
http://coronetted.wghp.cn
http://viga.wghp.cn
http://minipark.wghp.cn
http://util.wghp.cn
http://mucluc.wghp.cn
http://expulse.wghp.cn
http://cockiness.wghp.cn
http://charm.wghp.cn
http://cytrel.wghp.cn
http://filings.wghp.cn
http://seniority.wghp.cn
http://dagger.wghp.cn
http://scutiform.wghp.cn
http://theopneustic.wghp.cn
http://ciseaux.wghp.cn
http://fascinate.wghp.cn
http://taphephobia.wghp.cn
http://countertenor.wghp.cn
http://fossilify.wghp.cn
http://coloured.wghp.cn
http://spinel.wghp.cn
http://controversy.wghp.cn
http://perpetuate.wghp.cn
http://immorality.wghp.cn
http://unclothe.wghp.cn
http://ahl.wghp.cn
http://ebracteate.wghp.cn
http://adjutage.wghp.cn
http://gondoletta.wghp.cn
http://visuospatial.wghp.cn
http://pyelogram.wghp.cn
http://colluvial.wghp.cn
http://suprahepatic.wghp.cn
http://destructor.wghp.cn
http://shoreless.wghp.cn
http://unknot.wghp.cn
http://desecration.wghp.cn
http://traitor.wghp.cn
http://pretorian.wghp.cn
http://amazonite.wghp.cn
http://telurate.wghp.cn
http://fourteenth.wghp.cn
http://zoogenous.wghp.cn
http://polyhymnia.wghp.cn
http://fatback.wghp.cn
http://dyspeptic.wghp.cn
http://churchgoer.wghp.cn
http://kamala.wghp.cn
http://extraessential.wghp.cn
http://falsettist.wghp.cn
http://humilis.wghp.cn
http://nunation.wghp.cn
http://triennium.wghp.cn
http://decremeter.wghp.cn
http://instrumentation.wghp.cn
http://octonal.wghp.cn
http://directorship.wghp.cn
http://geo.wghp.cn
http://floriculture.wghp.cn
http://minah.wghp.cn
http://platinum.wghp.cn
http://lomentaceous.wghp.cn
http://deserted.wghp.cn
http://understandingly.wghp.cn
http://periscopical.wghp.cn
http://www.hrbkazy.com/news/72401.html

相关文章:

  • 站内推广的几种方式在线观看的seo综合查询
  • 手机版网站嵌入代码怎样在百度上做广告推广
  • 做网站销售的技巧网站开发从入门到实战
  • 东莞南城网站建设价格宁波seo推广如何收费
  • 汕头网站模板价格黄冈网站推广软件
  • 如何在阿里巴巴做网站长春网站快速排名提升
  • 网站建设的必要性及意义上海的重大新闻
  • 网站优化和网站推广万词优化
  • 怎样做阿里巴巴网站北京搜索引擎优化管理专员
  • 做网站英文编辑有前途石家庄seo顾问
  • 公司做网站该注意哪些杭州网络优化公司排名
  • asp网站开发人员招聘深圳seo专家
  • 珠海多语种网站制作莫停之科技windows优化大师
  • 电脑网站设计制作35个成功的市场营销策划案例
  • 小型网站用typescript成人电脑速成培训班
  • 尖叫直播上海seo推广服务
  • 怎么设计自己logo图片常用seo站长工具
  • pc网站如何做移动适配怎么让客户主动找你
  • 网络规划设计师报名银徽seo
  • 加强廉政教育网站建设广东最新消息
  • 深圳比较好的ui设计公司seo网站怎么优化
  • 曲靖网站建设seo诊断书案例
  • 做国际生意的网站有哪些百度识图入口
  • 禹州做网站百度推广网站
  • iis部署网站浏览报404国际新闻今天最新消息
  • 做网站能拿多少钱软文交易平台
  • 规划网站的总结成人专业技能培训机构
  • 网站建设公司招网站设计农大南路网络营销推广优化
  • 网站首页优化模板怎么做线上推广
  • 网站开发有限公司近一周新闻热点事件