searchVideosSuspend

suspend fun searchVideosSuspend(    searchTerms: List<String>,     from: Int = 0,     size: Int = DEFAULT_PAGINATION_SIZE): Either<ArcXPException, Map<Int, ArcXPContentElement>>

searchVideosSuspend requests a search to be performed by search Term (keyword/tag based on resolver setup default is tag(used in example app)) note: cache is not used for search, but if you open item it will be cached

Return

Either returns either Success Map with search results in their server given order or Failure ArcXPException.

Parameters

searchTerms

List of strings to search

from

index in which to start (ie for pagination, you may want to start at index for next page)

size

number of entries to request: (valid range VALID_COLLECTION_SIZE_RANGE)


suspend fun searchVideosSuspend(    searchTerm: String,     from: Int = 0,     size: Int = DEFAULT_PAGINATION_SIZE): Either<ArcXPException, Map<Int, ArcXPContentElement>>

searchVideosSuspend requests a search to be performed by search Term (keyword/tag based on resolver setup default is tag(used in example app))

  • searches only video results note: cache is not used for search, but if you open item it will be cached

Return

Either returns either Success Map with search results in their server given order or Failure ArcXPException.

Parameters

searchTerm

term to search

from

index in which to start (ie for pagination, you may want to start at index for next page)

size

number of entries to request: (valid range VALID_COLLECTION_SIZE_RANGE)