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);
}
Aggregations