Class Media.Partial.LinkNeedsCollection

  • Enclosing interface:
    Media.Partial

    @Deprecated
    public static class Media.Partial.LinkNeedsCollection
    extends Object
    Deprecated.
    Most of the support for link media no longer functions in the editor code base, so clients are unlikely to encounter it in the wild and should not use it in new ADF.
    This partially constructed media node is a link and still needs a collection ID.
    • Method Detail

      • collection

        public Media.LinkMedia collection​(@Nullable
                                          String collection)
        Deprecated.
        Sets the collection ID on this partially constructed media node, after which it is fully constructed as a valid media node.
        Parameters:
        collection - the collection ID for this media node
        Returns:
        the resulting fully constructed media node, to which optional settings like the width may still be set