Classe: KASAttachment
Hierarquia
KASAttachment
Índice
Propriedades
- attachmentId
- fileName
- hasSetThumbnail
- Localpath
- requireHighResThumbnail
- serverPath
- size
- thumbnail
- type
Métodos
Propriedades
attachmentId
● attachmentId: string
= ""
fileName
● fileName: string
= ""
hasSetThumbnail
● hasSetThumbnail: boolean
= false
Localpath
● localPath: string
= ""
requireHighResThumbnail
● exigirHighResThumbnail: boolean
= false
serverPath
● serverPath: string
= ""
size
● tamanho: number
= 0
Miniatura
● miniatura: string
= ""
type
● tipo: KASAttachmentType = KASAttachmentType.Image
Métodos
toJSON
▸ toJSON(): JSON
As seguintes teclas de cadeia de caracteres("ty", "afn", "asb", etc.) DEVE estar em sincronização com a representação do modelo de objeto Attachment no código iOS e Android. Isso é vital para serialização e desserialização adequadas sobre a ponte KAS.
Retorna:JSON
<Static>
fromJSON
▸ fromJSON(object: any
): KASAttachment
Parâmetros:
Nome | Tipo |
---|---|
objeto | any |
Returns:KASAttachment
<Static>
hasLocalPath
▸ hasLocalPath(obj: KASAttachment): boolean
Parâmetros:
Nome | Tipo |
---|---|
Obj | KASAttachment |
Retorna:boolean
<Static>
hasServerPath
▸ hasServerPath(obj: KASAttachment): boolean
Parâmetros:
Nome | Tipo |
---|---|
Obj | KASAttachment |
Retorna:boolean
<Static>
populateModelFromJSON
▸ populateModelFromJSON(anexo: KASAttachment, object: JSON
): void
Parâmetros:
Nome | Tipo |
---|---|
anexo | KASAttachment |
objeto | JSON |
Retorna:void
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de