qisdk / com.aldebaran.qi.sdk.builder / SayBuilder / withResource

withResource

open fun withResource(@StringRes resId: Int, vararg formatArgs: Any!): SayBuilder!

Configure the text used by Say

Parameters

resId - Int: the resource id of string

formatArgs - Any!: The format arguments that will be used for substitution.

Return
SayBuilder!: the builder