Easemob Windows SDK
package
include
message
emvoicemessagebody.h
1
/************************************************************
2
* * EaseMob CONFIDENTIAL
3
* __________________
4
* Copyright (C) 2015 EaseMob Technologies. All rights reserved.
5
*
6
* NOTICE: All information contained herein is, and remains
7
* the property of EaseMob Technologies.
8
* Dissemination of this information or reproduction of this material
9
* is strictly forbidden unless prior written permission is obtained
10
* from EaseMob Technologies.
11
*/
12
//
13
// EMVoiceMessageBody.h
14
//
15
// Copyright (c) 2015 EaseMob Inc. All rights reserved.
16
//
17
18
#ifndef __easemob__EMVoiceMessageBody__
19
#define __easemob__EMVoiceMessageBody__
20
21
#include <string>
22
#include <vector>
23
#include "emfilemessagebody.h"
24
25
namespace
easemob
{
26
27
class
EASEMOB_API
EMVoiceMessageBody
:
public
EMFileMessageBody
28
{
29
public
:
36
EMVoiceMessageBody
();
37
45
EMVoiceMessageBody
(
const
std::string &localPath,
int
duration);
46
53
virtual
~
EMVoiceMessageBody
();
54
61
int
duration()
const
;
62
69
void
setDuration(
int
);
70
71
private
:
78
void
init();
79
80
private
:
81
EMVoiceMessageBody
(
const
EMVoiceMessageBody
&);
82
EMVoiceMessageBody
& operator=(
const
EMVoiceMessageBody
&);
83
84
int
mDuration;
85
};
86
typedef
std::shared_ptr<EMVoiceMessageBody> EMVoiceMessageBodyPtr;
87
}
88
89
90
#endif
/* defined(__easemob__EMVoiceMessageBody__) */
easemob::EMVoiceMessageBody
Definition:
emvoicemessagebody.h:27
easemob::EMFileMessageBody
Definition:
emfilemessagebody.h:26
easemob
Definition:
emattributevalue.h:28
Generated on Thu Oct 13 2016 16:26:34 for Easemob Windows SDK by
1.8.12