public class AliyunClip
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
mClipHeight |
protected int |
mClipWidth |
| Modifier | Constructor and Description |
|---|---|
protected |
AliyunClip() |
|
AliyunClip(AliyunClip clip) |
|
AliyunClip(java.lang.String source,
TransitionBase transition,
AliyunDisplayMode mode,
int rotation,
int id) |
|
AliyunClip(java.lang.String source,
TransitionBase transition,
long duration,
AliyunDisplayMode mode,
int rotation,
int id) |
| Modifier and Type | Method and Description |
|---|---|
int |
getClipHeight() |
int |
getClipWidth() |
AliyunDisplayMode |
getDisplayMode()
Gets the display mode of this clip.
|
int |
getId()
Gets the id, unique identifier, of this clip.
|
MediaType |
getMediaType()
Gets the media type of this clip.
|
java.lang.String |
getSource()
Gets the URL of this clip.
|
TransitionBase |
getTransition()
Gets the transition method of this clip.
|
void |
setDisplayMode(AliyunDisplayMode mode)
Sets the display mode of this clip.
|
void |
setId(int id)
Sets the id of this clip.
|
void |
setMediaType(MediaType mediaType)
Sets the medio type of this clip.
|
void |
setSource(java.lang.String mSource)
Sets the URL of this clip.
|
void |
setTransition(TransitionBase transition)
Sets the transition method of this clip.
|
protected AliyunClip()
public AliyunClip(AliyunClip clip)
public AliyunClip(java.lang.String source,
TransitionBase transition,
AliyunDisplayMode mode,
int rotation,
int id)
public AliyunClip(java.lang.String source,
TransitionBase transition,
long duration,
AliyunDisplayMode mode,
int rotation,
int id)
public int getId()
public void setId(int id)
id - public java.lang.String getSource()
public void setSource(java.lang.String mSource)
mSource - The URL of this clip.public TransitionBase getTransition()
public void setTransition(TransitionBase transition)
transition - TransitionCircle
TransitionFade
TransitionFiveStar
TransitionShutter
TransitionTranslatepublic AliyunDisplayMode getDisplayMode()
AliyunDisplayModepublic void setDisplayMode(AliyunDisplayMode mode)
mode - AliyunDisplayModepublic MediaType getMediaType()
MediaTypepublic void setMediaType(MediaType mediaType)
mediaType - MediaTypepublic int getClipWidth()
public int getClipHeight()