mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
Fix documentation.
This commit is contained in:
parent
bef238f851
commit
13dc2d5b76
3 changed files with 1 additions and 3 deletions
|
@ -60,8 +60,6 @@ interface SendService {
|
||||||
* Method to quote an events content.
|
* Method to quote an events content.
|
||||||
* @param quotedEvent The event to which we will quote it's content.
|
* @param quotedEvent The event to which we will quote it's content.
|
||||||
* @param text the text message to send
|
* @param text the text message to send
|
||||||
* @param msgType the message type: MessageType.MSGTYPE_TEXT (default) or MessageType.MSGTYPE_EMOTE
|
|
||||||
* @param autoMarkdown If true, the SDK will generate a formatted HTML message from the body text if markdown syntax is present
|
|
||||||
* @return a [Cancelable]
|
* @return a [Cancelable]
|
||||||
*/
|
*/
|
||||||
fun sendQuotedTextMessage(quotedEvent: TimelineEvent, text: String): Cancelable
|
fun sendQuotedTextMessage(quotedEvent: TimelineEvent, text: String): Cancelable
|
||||||
|
|
|
@ -20,7 +20,6 @@ import android.content.Context
|
||||||
import android.graphics.Bitmap
|
import android.graphics.Bitmap
|
||||||
import android.media.MediaMetadataRetriever
|
import android.media.MediaMetadataRetriever
|
||||||
import androidx.exifinterface.media.ExifInterface
|
import androidx.exifinterface.media.ExifInterface
|
||||||
import okhttp3.internal.format
|
|
||||||
import org.matrix.android.sdk.api.session.content.ContentAttachmentData
|
import org.matrix.android.sdk.api.session.content.ContentAttachmentData
|
||||||
import org.matrix.android.sdk.api.session.events.model.Content
|
import org.matrix.android.sdk.api.session.events.model.Content
|
||||||
import org.matrix.android.sdk.api.session.events.model.Event
|
import org.matrix.android.sdk.api.session.events.model.Event
|
||||||
|
|
|
@ -40,6 +40,7 @@ internal class MarkdownParser @Inject constructor(
|
||||||
* Parses some input text and produces html.
|
* Parses some input text and produces html.
|
||||||
* @param text An input CharSequence to be parsed.
|
* @param text An input CharSequence to be parsed.
|
||||||
* @param force Skips the check for detecting if the input contains markdown and always converts to html.
|
* @param force Skips the check for detecting if the input contains markdown and always converts to html.
|
||||||
|
* @param advanced Whether to use the full markdown support or the simple version.
|
||||||
* @return TextContent containing the plain text and the formatted html if generated.
|
* @return TextContent containing the plain text and the formatted html if generated.
|
||||||
*/
|
*/
|
||||||
fun parse(text: CharSequence, force: Boolean = false, advanced: Boolean = true): TextContent {
|
fun parse(text: CharSequence, force: Boolean = false, advanced: Boolean = true): TextContent {
|
||||||
|
|
Loading…
Reference in a new issue