The viv.image
capsule has been deprecated, and will be removed from Bixby in the future. New capsules should not import it, and capsules that currently rely on it should be rewritten to avoid the dependency.
Instead of using the viv.image.Image
model, your capsules should use the corresponding viv.core.BaseImage
model.
The viv.image
capsule provides a basic concept, Image
, for storing image metadata; other library capsules import this for image handling purposes.
This reference lists out several of the models available in this library capsule. Some sections contain tables listing information about those concepts or actions.
Types are always in the viv.*
namespace, and in the viv.image.*
namespace unless another namespace is specified (for example, viv.rating.*
). All properties have a cardinality of min (Optional)
, max (One)
unless otherwise specified.
Property | Type | Kind | Notes |
---|---|---|---|
url | Url | text | Required |
size | Size | integer | |
dimensions | Dimensions | structure | |
rotation | measurement.AngleValue | decimal | |
caption | Caption | text |
The Dimensions
structure contains two integer properties:
Property | Type | Kind | Notes |
---|---|---|---|
height | Height | integer | |
width | Width | integer |
viv.image
does not store images on the device Bixby is running on, but stores metadata for images along with URL-based references to them.
Copyright 2025 Samsung All rights reserved