Search in sources :

Example 1 with AssetForUpload

use of com.waz.api.AssetForUpload in project wire-android by wireapp.

the class ConversationFragment method sendVideo.

private void sendVideo(Uri uri) {
    Timber.i("  uri.getPath %s", uri.getPath());
    Timber.i("          uri %s", uri);
    AssetForUpload assetForUpload = AssetFactory.fromContentUri(uri);
    getStoreFactory().getConversationStore().sendMessage(assetForUpload, assetErrorHandlerVideo);
    getControllerFactory().getNavigationController().setRightPage(Page.MESSAGE_STREAM, TAG);
    extendedCursorContainer.close(true);
}
Also used : AssetForUpload(com.waz.api.AssetForUpload) AudioAssetForUpload(com.waz.api.AudioAssetForUpload)

Aggregations

AssetForUpload (com.waz.api.AssetForUpload)1 AudioAssetForUpload (com.waz.api.AudioAssetForUpload)1