NotificationInfo 类
- java.
lang. Object - com.
microsoft. bot. schema. teams. NotificationInfo
- com.
public class NotificationInfo
指定是否要为提及发送通知。
构造函数摘要
| 构造函数 | 说明 |
|---|---|
| NotificationInfo() |
通知 |
| NotificationInfo(boolean withAlertInMeeting, String withExternalResourceUrl) |
会议警报的新实例。 |
| NotificationInfo(Boolean withAlert) |
通知 |
方法摘要
| 修饰符和类型 | 方法和描述 |
|---|---|
| java.lang.Boolean |
getAlert()
Getter 以获取警报。 |
| java.lang.Boolean |
getAlertInMeeting()
指示这是会议警报。 |
| java.lang.String |
getExternalResourceUrl()
获取会议警报的资源 URL。 |
| void |
setAlert(Boolean withAlert)
警报的 Setter。 |
| void |
setAlertInMeeting(Boolean withAlertInMeeting)
指示这是会议警报。 |
| void |
setExternalResourceUrl(String withExternalResourceUrl)
会议警报的资源 URL。 |
方法继承自 java.lang.Object
构造函数详细信息
NotificationInfo
public NotificationInfo()
NotificationInfo 的新实例。
NotificationInfo
public NotificationInfo(boolean withAlertInMeeting, String withExternalResourceUrl)
会议警报的新实例。
参数:
NotificationInfo
public NotificationInfo(Boolean withAlert)
NotificationInfo 的新实例。
参数:
方法详细信息
getAlert
public Boolean getAlert()
Getter 以获取警报。
返回:
getAlertInMeeting
public Boolean getAlertInMeeting()
指示这是会议警报。
返回:
getExternalResourceUrl
public String getExternalResourceUrl()
获取会议警报的资源 URL。
返回:
setAlert
public void setAlert(Boolean withAlert)
警报的 Setter。
参数:
setAlertInMeeting
public void setAlertInMeeting(Boolean withAlertInMeeting)
指示这是会议警报。
参数:
setExternalResourceUrl
public void setExternalResourceUrl(String withExternalResourceUrl)
会议警报的资源 URL。
参数: