Conference Data Service

會議資料

這項服務可讓指令碼設定及建構與 Google 日曆互動的會議資料物件。

類別

名稱簡短說明
ConferenceData所有會議相關資訊的容器。
ConferenceDataBuilder建立 ConferenceData 物件的建構工具。
ConferenceDataService指令碼可用來建立會議資訊的服務。
ConferenceError會議外掛程式發生錯誤。
ConferenceErrorType這個列舉定義可在 ConferenceError 中指定的錯誤類型。
ConferenceParameter外掛程式可使用的解決方案專用參數。
EntryPoint加入會議的特定方式定義。
EntryPointFeature列舉項目,定義會議外掛程式可建立的進入點功能。
EntryPointType列舉,定義會議外掛程式可建立的進入點類型。

ConferenceData

方法

方法傳回類型簡短說明
printJson()String列印這個物件的 JSON 表示法。

ConferenceDataBuilder

方法

方法傳回類型簡短說明
addConferenceParameter(conferenceParameter)ConferenceDataBuilderConferenceParameter 新增至這個 ConferenceData
addEntryPoint(entryPoint)ConferenceDataBuilderEntryPoint 新增至這個 ConferenceData
build()ConferenceData建構及驗證 ConferenceData
setConferenceId(conferenceId)ConferenceDataBuilder設定這個 ConferenceData 的會議場次 ID。
setConferenceSolutionId(conferenceSolutionId)ConferenceDataBuilder設定外掛程式資訊清單中定義的會議解決方案 ID。
setError(conferenceError)ConferenceDataBuilder設定這個 ConferenceDataConferenceError,表示會議未成功建立。
setNotes(notes)ConferenceDataBuilder設定這個 ConferenceData 的額外附註,例如管理員的指示或法律聲明。

ConferenceDataService

屬性

屬性類型說明
ConferenceErrorTypeConferenceErrorTypeConferenceErrorType 列舉。
EntryPointFeatureEntryPointFeatureEntryPointFeature 列舉。
EntryPointTypeEntryPointTypeEntryPointType 列舉。

方法

方法傳回類型簡短說明
newConferenceDataBuilder()ConferenceDataBuilder傳回新的空白 ConferenceDataBuilder
newConferenceError()ConferenceError傳回新的空白 ConferenceError
newConferenceParameter()ConferenceParameter傳回新的空白 ConferenceParameter
newEntryPoint()EntryPoint傳回新的空白 EntryPoint

ConferenceError

方法

方法傳回類型簡短說明
setAuthenticationUrl(authenticationUrl)ConferenceError如果錯誤類型為 AUTHENTICATION,外掛程式必須提供回呼外掛程式的網址,讓使用者登入。
setConferenceErrorType(conferenceErrorType)ConferenceError設定這個 ConferenceError 的錯誤類型。

ConferenceErrorType

屬性

屬性類型說明
AUTHENTICATIONEnum產生會議資料時發生驗證錯誤。
CONFERENCE_SOLUTION_FORBIDDENEnum使用者無法使用所選會議解決方案 (但可能可以使用外掛程式提供的其他解決方案)。
PERMANENTEnum產生會議資料時發生永久性錯誤。
PERMISSION_DENIEDEnum使用者無法在第三方會議通訊系統中執行動作。
TEMPORARYEnum產生會議資料時發生暫時性錯誤。
UNKNOWNEnum產生會議資料時發生不明錯誤。

ConferenceParameter

方法

方法傳回類型簡短說明
setKey(key)ConferenceParameter設定這個 ConferenceParameter 的鍵。
setValue(value)ConferenceParameter設定這個 ConferenceParameter 的值。

EntryPoint

方法

方法傳回類型簡短說明
addFeature(feature)EntryPoint新增進入點的功能,例如付費或免付費。
setAccessCode(accessCode)EntryPoint存取會議的存取碼。
setEntryPointType(entryPointType)EntryPoint設定這個進入點的類型。
setMeetingCode(meetingCode)EntryPoint用來存取電話會議的會議代碼。
setPasscode(passcode)EntryPoint用來存取會議的通行碼。
setPassword(password)EntryPoint存取電話會議的密碼。
setPin(pin)EntryPoint用來存取電話會議的 PIN 碼。
setRegionCode(regionCode)EntryPoint與這個進入點相關聯的國家/地區 CLDR/ISO 3166 地區代碼。
setUri(uri)EntryPoint設定透過這個進入點加入會議的 URI。

EntryPointFeature

屬性

屬性類型說明
UNKNOWN_FEATUREEnum請勿使用。
TOLLEnum僅適用於電話進入點。
TOLL_FREEEnum僅適用於電話進入點。

EntryPointType

屬性

屬性類型說明
VIDEOEnum會議的視訊進入點。
PHONEEnum會議的電話進入點。
MOREEnum提供會議進入點的詳細資訊連結。
SIPEnum會議的 SIP 進入點。