qisdk / com.aldebaran.qi.sdk.util / IOUtils / fromAsset

fromAsset

static fun fromAsset(context: Context!, assetName: String!): String!

Returns a string from a asset file

Parameters

context - Context!: the Android context

assetName - String!: the asset file

Exceptions

NotFoundException - if file not found

Return
String!: the content of the asset file