Package | Description |
---|---|
com.bandwidth.sdk.model |
Modifier and Type | Method and Description |
---|---|
static MediaFile |
Media.get(BandwidthClient client,
String id)
Gets information about a previously sent or received MediaFile.
|
static MediaFile |
Media.get(String id)
Gets information about a previously sent or received MediaFile.
|
MediaFile |
Media.upload(String mediaName,
File file,
MediaMimeType contentType)
Uploads media file.
|
Modifier and Type | Method and Description |
---|---|
static ResourceList<MediaFile> |
Media.list()
Factory method for MediaFile list, returns a list of MediaFile object with default page, size
|
static ResourceList<MediaFile> |
Media.list(BandwidthClient client,
int page,
int size)
Factory method for MediaFile list, returns a list of MediaFile objects with page, size preference
|
static ResourceList<MediaFile> |
Media.list(int page,
int size)
Factory method for MediaFile list, returns a list of MediaFile objects with page, size preference
|
Modifier and Type | Method and Description |
---|---|
static Message |
Message.create(String to,
String from,
String text,
MediaFile media)
Convience factory method to send MMS messages.
|
Copyright © 2014. All Rights Reserved.