Class EntryPoint

EntryPoint

Definition of a specific way to join a conference. Example usage:

var videoEntryPoint = ConferenceDataService.newEntryPoint()
    .setEntryPointType(ConferenceDataService.EntryPointType.VIDEO)
    .setUri('https://example.com/myroom');
    .setPasscode('12345');

var phoneEntryPoint = ConferenceDataService.newEntryPoint()
    .setEntryPointType(ConferenceDataService.EntryPointType.PHONE)
    .setUri('tel:+11234567890,,,112233445;9687')
    .addFeature(ConferenceDataService.EntryPointFeature.TOLL)
    setPin('9687');

var sipEntryPoint = ConferenceDataService.newEntryPoint()
    .setEntryPointType(ConferenceDataService.EntryPointType.SIP)
    .setUri('sip:joe@example.com')
    .setAccessCode('1234567');

var moreEntryPoint = ConferenceDataService.newEntryPoint()
    .setEntryPointType(ConferenceDataService.EntryPointType.MORE)
    .setUri('https://example.com/moreJoiningInfo');

Methods

MethodReturn typeBrief description
addFeature(feature)EntryPointAdds the feature of the entry point, such as being toll or toll-free.
setAccessCode(accessCode)EntryPointAn access code for accessing the conference.
setEntryPointType(entryPointType)EntryPointSets the type of this entry point.
setMeetingCode(meetingCode)EntryPointA meeting code for accessing the conference.
setPasscode(passcode)EntryPointA passcode for accessing the conference.
setPassword(password)EntryPointA password code for accessing the conference.
setPin(pin)EntryPointA PIN code for accessing the conference.
setRegionCode(regionCode)EntryPointThe CLDR/ISO 3166 region code for the country associated with this entry point.
setUri(uri)EntryPointSets the URI for joining the conference through this entry point.

Detailed documentation

addFeature(feature)

Adds the feature of the entry point, such as being toll or toll-free.

Parameters

NameTypeDescription
featureEntryPointFeatureThe feature to set.

Return

EntryPoint — this object, for chaining

Throws

Error — if the feature isn't applicable to this entry point.


setAccessCode(accessCode)

An access code for accessing the conference. Maximum length 128 characters. Optional.

Parameters

NameTypeDescription
accessCodeStringThe access code to set.

Return

EntryPoint — this object, for chaining

Throws

Error — if the provided access code is too long.


setEntryPointType(entryPointType)

Sets the type of this entry point. Required.

Parameters

NameTypeDescription
entryPointTypeEntryPointTypeThe entry point type to set.

Return

EntryPoint — this object, for chaining


setMeetingCode(meetingCode)

A meeting code for accessing the conference. Maximum length 128 characters. Optional.

Parameters

NameTypeDescription
meetingCodeStringThe meeting code to set.

Return

EntryPoint — this object, for chaining

Throws

Error — if the provided meeting code is too long.


setPasscode(passcode)

A passcode for accessing the conference. Maximum length 128 characters. Optional.

Parameters

NameTypeDescription
passcodeStringThe passcode to set.

Return

EntryPoint — this object, for chaining

Throws

Error — if the provided passcode is too long.


setPassword(password)

A password code for accessing the conference. Maximum length 128 characters. Optional.

Parameters

NameTypeDescription
passwordStringThe password to set.

Return

EntryPoint — this object, for chaining

Throws

Error — if the provided password is too long.


setPin(pin)

A PIN code for accessing the conference. Maximum length 128 characters. Optional.

Parameters

NameTypeDescription
pinStringThe PIN code to set.

Return

EntryPoint — this object, for chaining

Throws

Error — if the provided PIN code is too long.


setRegionCode(regionCode)

The CLDR/ISO 3166 region code for the country associated with this entry point. Applicable only to phone entry point types. Optional.

Parameters

NameTypeDescription
regionCodeStringThe regionCode to set.

Return

EntryPoint — this object, for chaining

Throws

Error — if the provided regionCode is too long.


setUri(uri)

Sets the URI for joining the conference through this entry point. For PHONE entry points, the prefix tel: is required. For SIP entry points, the prefix sip: is required. For VIDEO and MORE entry points, the prefixes http: or https: are required. Maximum length 1300 characters. Required.

Parameters

NameTypeDescription
uriStringThe URI to set.

Return

EntryPoint — this object, for chaining

Throws

Error — if the provided URI is malformed.