Class Audio
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.whatsapp.platform.message.Audio
-
- All Implemented Interfaces:
Serializable
public class Audio extends AbstractFacebookType
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Audio()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
ID for the audio fileString
getMimeType()
Mime type for the audio fileString
getSha256()
audio hashboolean
isVoice()
true if this is a voice messagevoid
setId(String id)
ID for the audio filevoid
setMimeType(String mimeType)
Mime type for the audio filevoid
setSha256(String sha256)
audio hashvoid
setVoice(boolean voice)
true if this is a voice message-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
Audio
public Audio()
-
-
Method Detail
-
getMimeType
public String getMimeType()
Mime type for the audio file
-
setMimeType
public void setMimeType(String mimeType)
Mime type for the audio file
-
isVoice
public boolean isVoice()
true if this is a voice message
-
setVoice
public void setVoice(boolean voice)
true if this is a voice message
-
-