Uh oh! We couldn’t find any match.

Please try other search keywords.

Bixby Developer Center

Guides

Library Capsules

This section describes how to use Bixby's library capsules, which let your capsules work with complex concepts such as dates, times, and geography.

Using Capsules

To use a library capsule, it must be imported. In your capsule.bxb file, include an import statement in the capsule-imports block:

capsule {
capsule-imports {
import (viv.time) {
as (time) version (2.58.56)
}
}
}

This import lets you refer to concepts and actions in the viv.time.* namespace simply with time.*.

Capsules import their own dependencies (for example, viv.business relies on viv.geo, viv.rating, and other library capsules); your capsule does not need to import these separately.

Capsule Versions

Last updated Nov 20, 2018

When importing library capsules, these are the minimum versions to specify:

Library CapsuleVersion
viv.business4.25.25
viv.contact2.5114.1
viv.email2.8.36
viv.entity3.10.0
viv.geo9.3.0
viv.image2.8.0
viv.measurement2.9.0
viv.money2.16.19
viv.navigation1.7.12
viv.openHours3.13.20
viv.rating2.14.0
viv.self3.2.2
viv.time2.62.2

Capsules

These are some of the most commonly used library capsules along with links to further discussion.