ActorService class base

app.bsky.actor.*

Constructors

ActorService.new(ServiceContext _ctx)

Properties

hashCode int
The hash code for this object.
no setterinherited
profile ActorProfileRecordAccessor
A declaration of a Bluesky account profile.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ActorStatusRecordAccessor
A declaration of a Bluesky account status.
no setter

Methods

getPreferences({Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ActorGetPreferencesOutput>>
Get private preferences attached to the current account. Expected use is synchronization between multiple devices, and import/export during account migration. Requires auth.
getProfile({required String actor, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ProfileViewDetailed>>
Get detailed profile view of an actor. Does not require auth, but contains relevant metadata with auth.
getProfiles({required List<String> actors, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ActorGetProfilesOutput>>
Get detailed profile views of multiple actors.
getSuggestions({int? limit, String? cursor, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ActorGetSuggestionsOutput>>
Get a list of suggested actors. Expected use is discovery of accounts to follow during new account onboarding.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putPreferences({required List<UPreferences> preferences, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<EmptyData>>
Set the private preferences attached to the account.
searchActors({String? term, String? q, int? limit, String? cursor, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ActorSearchActorsOutput>>
Find actors (profiles) matching search criteria. Does not require auth.
searchActorsTypeahead({String? term, String? q, int? limit, Map<String, String>? $headers, Map<String, String>? $unknown}) Future<XRPCResponse<ActorSearchActorsTypeaheadOutput>>
Find actor suggestions for a prefix search term. Expected use is for auto-completion during text field entry. Does not require auth.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited