ActorService

class ActorService(client: <Error class: unknown class>)

Constructors

Link copied to clipboard
constructor(client: <Error class: unknown class>)

Functions

Link copied to clipboard
suspend fun getPreferences(request: GetPreferencesRequest = GetPreferencesRequest()): GetPreferencesResponse

Get private preferences attached to the current account. Expected use is synchronization between multiple devices, and import/export during account migration. Requires auth.

Link copied to clipboard

Get detailed profile view of an actor. Does not require auth, but contains relevant metadata with auth.

Link copied to clipboard

Get detailed profile views of multiple actors.

Link copied to clipboard
suspend fun getSuggestions(request: GetSuggestionsRequest = GetSuggestionsRequest()): GetSuggestionsResponse

Get a list of suggested actors. Expected use is discovery of accounts to follow during new account onboarding.

Link copied to clipboard

Set the private preferences attached to the account.

Link copied to clipboard
suspend fun searchActors(request: SearchActorsRequest = SearchActorsRequest()): SearchActorsResponse

Find actors (profiles) matching search criteria. Does not require auth.

Link copied to clipboard
fun ActorService.searchActorsFlow(request: SearchActorsRequest = SearchActorsRequest()): <Error class: unknown class><ProfileView>

Find actors (profiles) matching search criteria. Does not require auth.

Link copied to clipboard
fun ActorService.searchActorsPageFlow(request: SearchActorsRequest = SearchActorsRequest()): <Error class: unknown class><List<ProfileView>>

Find actors (profiles) matching search criteria. Does not require auth.

Link copied to clipboard
suspend fun searchActorsTypeahead(request: SearchActorsTypeaheadRequest = SearchActorsTypeaheadRequest()): SearchActorsTypeaheadResponse

Find actor suggestions for a prefix search term. Expected use is for auto-completion during text field entry. Does not require auth.

Link copied to clipboard
fun ActorService.suggestionsFlow(request: GetSuggestionsRequest = GetSuggestionsRequest()): <Error class: unknown class><ProfileView>

Get a list of suggested actors. Expected use is discovery of accounts to follow during new account onboarding.

Link copied to clipboard
fun ActorService.suggestionsPageFlow(request: GetSuggestionsRequest = GetSuggestionsRequest()): <Error class: unknown class><List<ProfileView>>

Get a list of suggested actors. Expected use is discovery of accounts to follow during new account onboarding.