Parameters used by MessengerUtils for sending the media to Messenger to share. See developer docs for more info.
Estende: | Object |
Pacchetto: | messenger |
newBuilder(Uri, String)
Creates a new builder for creating a ShareToMessengerParams instance
public static ShareToMessengerParamsBuilder newBuilder(Uri uri, String mimeType)
Parametro | Descrizione |
---|---|
uri | The uri of the local content. Must be a file://, content://, or res:// URI. |
mimeType | The mime-type of the content. See ShareToMessengerParams.VALID_MIME_TYPES for what mime types are supported. |
VALID_URI_SCHEMES
public static final Set VALID_URI_SCHEMES
VALID_MIME_TYPES
public static final Set VALID_MIME_TYPES
VALID_EXTERNAL_URI_SCHEMES
public static final Set VALID_EXTERNAL_URI_SCHEMES
uri
public final Uri uri
mimeType
public final String mimeType
metaData
public final String metaData
externalUri
public final Uri externalUri