日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSReminderRequestCalendar

ReminderRequestCalendar

創(chuàng)新互聯(lián)專注為客戶提供全方位的互聯(lián)網(wǎng)綜合服務(wù),包含不限于成都網(wǎng)站建設(shè)、成都網(wǎng)站設(shè)計、浉河網(wǎng)絡(luò)推廣、重慶小程序開發(fā)公司、浉河網(wǎng)絡(luò)營銷、浉河企業(yè)策劃、浉河品牌公關(guān)、搜索引擎seo、人物專訪、企業(yè)宣傳片、企業(yè)代運(yùn)營等,從售前售中售后,我們都將竭誠為您服務(wù),您的肯定,是我們最大的嘉獎;創(chuàng)新互聯(lián)為所有大學(xué)生創(chuàng)業(yè)者提供浉河建站搭建服務(wù),24小時服務(wù)熱線:028-86922220,官方網(wǎng)址:www.cdcxhl.com

java.lang.Object

|---ohos.event.notification.ReminderRequest

|---|---ohos.event.notification.ReminderRequestCalendar

public class ReminderRequestCalendar
extends ReminderRequest

用于為日歷事件創(chuàng)建提醒的 ReminderRequest 子類。

您可以使用此類在特定日期或特定月份的特定日期的指定時間(精確到分鐘)發(fā)布日歷事件提醒。

Since:

6

嵌套類摘要

從接口 ohos.utils.Sequenceable 繼承的嵌套類/接口
Sequenceable.ProducerT

字段摘要

從類 ohos.event.notification.ReminderRequest 繼承的字段
ACTION_BUTTON_TYPE_CLOSE, ACTION_BUTTON_TYPE_SNOOZE

構(gòu)造函數(shù)摘要

構(gòu)造函數(shù) 描述
ReminderRequestCalendar(LocalDateTime dateTime, int[] repeatMonths, int[] repeatDays) 用于創(chuàng)建 ReminderRequestCalendar 實例的構(gòu)造函數(shù)。

方法總結(jié)

修飾符和類型 方法 描述
boolean marshalling(Parcel out) 將此 Sequenceable 對象編組為 Parcel。
boolean unmarshalling(Parcel in) 從 Parcel 中解組此 Sequenceable 對象。
從類 java.lang.Object 繼承的方法
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
從類 ohos.event.notification.ReminderRequest 繼承的方法
compareTo, equals, getContent, getExpiredContent, getNotificationId, getRingDuration, getSlotId, getSnoozeContent, getSnoozeTimes, getTimeInterval, getTitle, hashCode, setActionButton, setContent, setExpiredContent, setIntentAgent, setMaxScreenIntentAgent, setNotificationId, setRingDuration, setSlotId, setSnoozeContent, setSnoozeTimes, setTimeInterval, setTitle, toString
從接口 ohos.utils.Sequenceable 繼承的方法
hasFileDescriptor

構(gòu)造函數(shù)詳細(xì)信息

ReminderRequestCalendar

public ReminderRequestCalendar(LocalDateTime dateTime, int[] repeatMonths, int[] repeatDays)

用于創(chuàng)建 ReminderRequestCalendar 實例的構(gòu)造函數(shù)。 日歷事件提醒將在指定時間觸發(fā)。

確保輸入?yún)?shù)滿足以下要求。 否則,應(yīng)用程序可能會因為非法參數(shù)異常而崩潰。

  • dateTime 參數(shù)不能為空。
  • repeatMonths 參數(shù)不能為空。
  • repeatDays 參數(shù)不能為空。
  • repeatMonths 數(shù)組的長度不能超過 12。
  • repeatDays 數(shù)組的長度不能超過 31。
  • 必須至少有一個有效的提醒時間。 確保 dateTime 指定的時間沒有過期,或者 repeatMonths 和 repeatDays 有效。

參數(shù):

參數(shù)名稱 參數(shù)描述
dateTime 指示將觸發(fā)此日歷事件提醒的日期和時間。 時間精確到分鐘。 例如,LocalDateTime.of(2021, 3, 3, 16, 15) 的值表示提醒將在 2021 年 3 月 3 日 16:15 觸發(fā)。
repeatMonths 指示重復(fù)此提醒的月份。 例如,值 {2, 4} 表示提醒將在 2 月和 4 月的特定日期觸發(fā)。
repeatDays 指示每月重復(fù)此提醒的日期。 例如,值 {2, 4} 表示將在特定月份的第二天和第四天觸發(fā)提醒。 必須同時設(shè)置repeatMonths 和repeatDays 參數(shù)才能實現(xiàn)重復(fù)提醒。 默認(rèn)情況下,此提醒不會被延后。 您可以調(diào)用 ReminderRequest.setTimeInterval(long) 來設(shè)置貪睡間隔。 如果設(shè)置了打盹間隔,該提醒會默認(rèn)打盹3次。 您可以調(diào)用 ReminderRequest.setSnoozeTimes(int) 來更改貪睡時間。

Since:

6

方法詳情

marshalling

public boolean marshalling(Parcel out)

從接口復(fù)制的描述:Sequenceable

將此 Sequenceable 對象編組為 Parcel。

指定者:

接口 Sequenceable 中的編組

覆蓋:

在類 ReminderRequest 中編組

參數(shù):

參數(shù)名稱 參數(shù)描述
out 指示將 Sequenceable 對象編組到的 Parcel 對象。

返回:

如果編組成功,則返回 true; 否則返回 false。

unmarshalling

public boolean unmarshalling(Parcel in)

從接口復(fù)制的描述:Sequenceable

從 Parcel 中解組此 Sequenceable 對象。

指定者:

在接口 Sequenceable 中解組

覆蓋:

在 ReminderRequest 類中解組

參數(shù):

參數(shù)名稱 參數(shù)描述
in 指示已將 Sequenceable 對象編組到的 Parcel 對象。

返回:

如果解組成功,則返回 true; 否則返回 false。


當(dāng)前標(biāo)題:創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSReminderRequestCalendar
文章鏈接:http://www.5511xx.com/article/cciiiep.html