EmbedService class base
app.bsky.embed.*
Constructors
Properties
- ctx → ServiceContext
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getEmbedExternalView(
{required String url, AtUri? canonicalUri, List< AtUri> ? uris, String? $service, Map<String, String> ? $headers, Map<String, String> ? $unknown}) → Future<XRPCResponse< EmbedGetEmbedExternalViewOutput> > -
Resolve one AT-URI record into the data needed to render an enhanced external embed. The records are validated against the requested
urlbefore any view is built. When validation passes, returnsdata,associatedRefs(strongRefs to embed into a post's external.associatedRefs) and the rawassociatedRecords, plus a legacyviewfor Standard.site records only. When validation fails, onlyunverifiedAssociatedRefsandunverifiedAssociatedRecordsare returned and no view or data is built. The response is empty ({}) when no record URI was usable or the record could not be resolved; clients should fall back to their own link-card rendering in that case and skip writing strongRefs to the post. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited