TransformerOutput


@UnstableApi
public final class TransformerOutput


Represents the output destination for a Transformer export.

Summary

Public methods

static TransformerOutput
create(String path)

Creates a TransformerOutput targeting a local file path.

static TransformerOutput
create(Uri collectionUri, ContentValues contentValues)

Creates a TransformerOutput targeting the Android MediaStore.

Public methods

create

public static TransformerOutput create(String path)

Creates a TransformerOutput targeting a local file path.

Parameters
String path

The local file path.

Returns
TransformerOutput

A TransformerOutput instance.

create

public static TransformerOutput create(Uri collectionUri, ContentValues contentValues)

Creates a TransformerOutput targeting the Android MediaStore.

Parameters
Uri collectionUri

The collection Uri to insert the media into.

ContentValues contentValues

The metadata values for the new MediaStore entry.

Returns
TransformerOutput

A TransformerOutput instance.