D.I.T. ( Do It Tizen! )  1.0.0
Samsung Software Membership
 All Data Structures Files Functions Macros Pages
Functions
File.c File Reference

File API가 정의되어있다. More...

#include "Device/File.h"
#include "dit.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <dirent.h>
#include <unistd.h>
#include <glib.h>
#include <tizen.h>
#include <player.h>
#include <Evas.h>
#include <metadata_extractor.h>
#include <media_content.h>
#include <dlog.h>
Include dependency graph for File.c:

Functions

File NewFile (void)
 새로운 File 객체를 생성한다. More...
 
void DestroyFile (File this_gen)
 생성한 File 객체를 소멸 시킨다. More...
 
bool deleteFile (String src)
 해당 파일을 삭제한다. More...
 
bool moveFile (String src, String dst)
 해당 파일을 이동 시킨다. More...
 
bool copyFile (String src, String dst)
 해당 파일을 복사한다. More...
 
void search_recur (String src, String dest, GList **searchList)
 
GList * searchFile (String src, String dst)
 파일을 검색한다. More...
 
void deleteSearchedList (GList *searchList)
 파일 검색 결과 리스트를 삭제한다. More...
 
Video NewVideo (void)
 새로운 Video 객체를 생성한다. More...
 
void DestroyVideo (Video this_gen)
 생성한 Video 객체를 소멸 시킨다. More...
 
bool playVideo (Video this_gen)
 동영상 파일을 재생한다. More...
 
bool pauseVideo (Video this_gen)
 동영상 파일을 일시 정지한다. More...
 
bool stopVideo (Video this_gen)
 동영상 파일을 정지한다. More...
 
String getVideoInfo (Video this_gen, metadata_extractor_attr_e element)
 동영상 파일의 meta data를 가져온다. More...
 
bool setVideoURI (Video this_gen, String uri)
 생성한 Video 객체의 URI를 설정한다. More...
 
bool setEvasObject (Video this_gen, Evas_Object *EvasObject)
 생성한 Video 객체의 Evas Object를 설정한다. More...
 
Audio NewAudio ()
 새로운 Audio 객체를 생성한다. More...
 
void DestroyAudio (Audio this_gen)
 생성한 Audio 객체를 소멸 시킨다. More...
 
bool playAudio (Audio this_gen)
 음악 파일을 재생한다. More...
 
bool pauseAudio (Audio this_gen)
 음악 파일을 일시 정지한다. More...
 
bool stopAudio (Audio this_gen)
 동영상 파일을 정지한다. More...
 
bool setAudioURI (Audio this_gen, String uri)
 생성한 Audio 객체의 URI를 설정한다. More...
 
String getAudioInfo (Audio this_gen, metadata_extractor_attr_e metadataKey)
 음악 파일의 meta data를 가져온다. More...
 
Image NewImage ()
 새로운 Image 객체를 생성한다. More...
 
void DestroyImage (Image this_gen)
 생성한 Image 객체를 소멸 시킨다. More...
 
bool gallery_media_item_cbx (media_info_h media, void *user_data)
 
bool setImageURI (Image this_gen, String src)
 생성한 Image 객체의 URI를 설정한다. More...
 
String getImageMediaId (Image this_gen)
 사진 파일의 meta data 중 Media Id를 가져온다. More...
 
String getImageDate (Image this_gen)
 사진 파일의 meta data 중 날짜 정보를 가져온다. More...
 
int getImageWidth (Image this_gen)
 사진 파일의 meta data 중 width 정보를 가져온다. More...
 
int getImageHeight (Image this_gen)
 사진 파일의 meta data 중 height 정보를 가져온다. More...
 
const char * PlayerErrorCheck (int ret)
 Audio / Video를 play하는 API에서 발생하는 Error Code들을 확인 해준다. More...
 
const char * MetadataExtractorErrorCheck (int ret)
 Metadata를 읽어올 때 사용하는 API에서 발생하는 Error Code들을 확인 해준다. More...
 
const char * MediaContentErrorCheck (int ret)
 Media Content Information을 읽어올 때 사용하는 API에서 발생하는 Error Code들을 확인 해준다. More...
 

Detailed Description

File API가 정의되어있다.

Note
File API가 정의되어있다.
See Also
File.h

Function Documentation

bool copyFile ( String  src,
String  dst 
)

해당 파일을 복사한다.

Parameters
[in]src복사할 파일의 path
[in]dst붙여넣을 위치의 파일의 path
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
해당 파일을 복사한다.
See Also
NewFile
DestroyFile
deleteFile
moveFile
searchFile
deleteSearchedList
Precondition
privilege

Here is the caller graph for this function:

bool deleteFile ( String  src)

해당 파일을 삭제한다.

Parameters
[in]src삭제할 파일의 path
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
해당 파일을 삭제한다.
See Also
NewFile
Precondition
privilege

Here is the caller graph for this function:

void deleteSearchedList ( GList *  searchList)

파일 검색 결과 리스트를 삭제한다.

Parameters
[in]searchedList삭제할 파일 검색 결과 리스트
[out]null
Return values
void
Note
파일 검색 결과 리스트를 삭제한다.
See Also
NewFile
DestroyFile
deleteFile
copyFile
moveFile
searchFile
Precondition
privilege

Here is the caller graph for this function:

void DestroyAudio ( Audio  this_gen)

생성한 Audio 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 Audio 객체
[out]null
Return values
void
Note
생성한 Audio 객체를 소멸 시킨다.
Audio 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewAudio
Precondition
privilege
void DestroyFile ( File  this_gen)

생성한 File 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 File 객체
[out]null
Return values
void
Note
생성한 File 객체를 소멸 시킨다.
File 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewFile
Precondition
privilege
void DestroyImage ( Image  this_gen)

생성한 Image 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 Image 객체
[out]null
Return values
void
Note
생성한 Image 객체를 소멸 시킨다.
Image 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewImage
void DestroyVideo ( Video  this_gen)

생성한 Video 객체를 소멸 시킨다.

Parameters
[in]this_gen소멸시킬 Video 객체
[out]null
Return values
void
Note
생성한 Video 객체를 소멸 시킨다.
Video 객체를 사용한 후 반드시 호출해야 한다.
See Also
NewVideo
Precondition
privilege
String getAudioInfo ( Audio  this_gen,
metadata_extractor_attr_e  metadataKey 
)

음악 파일의 meta data를 가져온다.

Parameters
[in]this_genmeta data를 가져올 Audio 객체
[in]element가져올 meta data 종류
[out]null
Return values
String
Note
음악 파일의 meta data를 가져온다.
See Also
NewAudio
DestroyAudio
playAudio
pauseAudio
stopAudio
setAudioURI
Precondition
privilege
Warning
사용전 setAudioURI() 를 통해 meta data 를 가져올 Audio 객체의 URI를 설정해야한다.
또한 <metadata_extractor.h> 를 반드시 include해야 하며 meta data가 저장된 String은 free() 해야한다.

Here is the caller graph for this function:

String getImageDate ( Image  this_gen)

사진 파일의 meta data 중 날짜 정보를 가져온다.

Parameters
[in]this_genImage 객체
[out]null
Return values
String
Note
사진 파일의 meta data 중 날짜 정보를 가져온다.
See Also
NewImage
DestroyImage
setImageURI
getImageMediaId
getImageWidth
getImageHeight
Warning
사용 전 setImageURI()를 최소 한번 이상 호출해야 한다.

Here is the caller graph for this function:

int getImageHeight ( Image  this_gen)

사진 파일의 meta data 중 height 정보를 가져온다.

Parameters
[in]this_genImage 객체
[out]null
Return values
int(픽셀 단위)
Note
사진 파일의 meta data 중 height 정보를 가져온다.
단위는 픽셀이다.
See Also
NewImage
DestroyImage
setImageURI
getImageMediaId
getImageDate
getImageWidth
Warning
사용 전 setImageURI()를 최소 한번 이상 호출해야 한다.

Here is the caller graph for this function:

String getImageMediaId ( Image  this_gen)

사진 파일의 meta data 중 Media Id를 가져온다.

Parameters
[in]this_genImage 객체
[out]null
Return values
String
Note
사진 파일의 meta data 중 Media Id를 가져온다.
See Also
NewImage
DestroyImage
setImageURI
getImageDate
getImageWidth
getImageHeight
Warning
사용 전 setImageURI()를 최소 한번 이상 호출해야 한다.

Here is the caller graph for this function:

int getImageWidth ( Image  this_gen)

사진 파일의 meta data 중 width 정보를 가져온다.

Parameters
[in]this_genImage 객체
[out]null
Return values
int(픽셀 단위)
Note
사진 파일의 meta data 중 width 정보를 가져온다.
단위는 픽셀이다.
See Also
NewImage
DestroyImage
setImageURI
getImageMediaId
getImageDate
getImageHeight
Warning
사용 전 setImageURI()를 최소 한번 이상 호출해야 한다.

Here is the caller graph for this function:

String getVideoInfo ( Video  this_gen,
metadata_extractor_attr_e  element 
)

동영상 파일의 meta data를 가져온다.

Parameters
[in]this_genmeta data를 가져올 Video 객체
[in]element가져올 meta data 종류
[out]null
Return values
String
Note
동영상 파일의 meta data를 가져온다.
See Also
NewVideo
DestroyVideo
playVideo
pauseVideo
stopVideo
setVideoURI
setEvasObject
Precondition
privilege
Warning
사용전 setVideoURI() 를 통해 meta data 를 가져올 Video 객체의 URI를 설정해야한다.
또한 <metadata_extractor.h> 를 반드시 include해야 하며 meta data가 저장된 String은 free() 해야한다.

Here is the call graph for this function:

Here is the caller graph for this function:

const char* MediaContentErrorCheck ( int  ret)

Media Content Information을 읽어올 때 사용하는 API에서 발생하는 Error Code들을 확인 해준다.

Parameters
[in]errCode확인 하고자 하는 Error Code
[out]null
Return values
MEDIA_CONTENT_ERROR_NONE: Successful
MEDIA_CONTENT_ERROR_INVALID_PARAMETER: Invalid parameter
MEDIA_CONTENT_ERROR_OUT_OF_MEMORY: Out of memory
MEDIA_CONTENT_ERROR_INVALID_OPERATION: Invalid Operation
MEDIA_CONTENT_FILE_NO_SPACE_ON_DEVICE: No space left on device
MEDIA_CONTENT_ERROR_PERMISSION_DENIED: Permission denied
MEDIA_CONTENT_ERROR_DB_FAILED: DB operation failed
MEDIA_CONTENT_ERROR_DB_BUSY: DB operation BUSY
MEDIA_CONTENT_ERROR_NETWORK: Network Fail
MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT: Unsupported Content
MEDIA_ERROR_UNKNOWN: Unknown error occurred
Note
Media Content Information을 읽어올 때 사용하는 API에서 발생하는 Error Code들을 확인 해준다.
Error의 내용은 Log를 통해 출력 된다. 11가지의 Error Code들을 확인 가능 하다.
See Also
Tizen Native API Document - Media Content Error

Here is the caller graph for this function:

const char* MetadataExtractorErrorCheck ( int  ret)

Metadata를 읽어올 때 사용하는 API에서 발생하는 Error Code들을 확인 해준다.

Parameters
[in]errCode확인 하고자 하는 Error Code
[out]null
Return values
METADATA_EXTRACTOR_ERROR_NONE: Successful
METADATA_EXTRACTOR_ERROR_INVALID_PARAMETER: Invalid parameter
METADATA_EXTRACTOR_ERROR_OUT_OF_MEMORY: Out of memory
METADATA_EXTRACTOR_ERROR_FILE_EXISTS: File does not exist
METADATA_EXTRACTOR_ERROR_PERMISSION_DENIED: Permission denied
METADATA_EXTRACTOR_ERROR_OPERATION_FAILED: Invalid internal operation
METADATA_ERROR_UNKNOWN: Unknown error occurred
Note
Metadata를 읽어올 때 사용하는 API에서 발생하는 Error Code들을 확인 해준다.
Error의 내용은 Log를 통해 출력 된다.
7가지의 Error Code들을 확인 가능 하다.
See Also
Tizen Native API Document - Metadata Extractor Error
bool moveFile ( String  src,
String  dst 
)

해당 파일을 이동 시킨다.

Parameters
[in]src복사할 파일의 path
[in]dst이동시킬 위치의 파일의 path
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
해당 파일을 이동 시킨다.
See Also
NewFile
DestroyFile
deleteFile
copyFile
searchFile
deleteSearchedList
Precondition
privilege

Here is the caller graph for this function:

Audio NewAudio ( void  )

새로운 Audio 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
Audio
Note
새로운 Audio 객체를 생성한다.
Audio 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyAudio
playAudio
pauseAudio
stopAudio
getAudioInfo
setAudioURI
Precondition
privilege
Warning
사용이 끝났을 때 DestoryAudio() 함수를 꼭 사용해야 한다.
Audio NewAudio ()
{
AudioExtends * this = (AudioExtends *)malloc (sizeof (AudioExtends));
this->audio.getInfo = getAudioInfo;
this->audio.Pause = pauseAudio;
this->audio.Play = playAudio;
this->audio.Stop = stopAudio;
this->audio.setURI = setAudioURI;
this->uri = NULL;
this->player_handle = NULL;
this->audioMetadataHandle = NULL;
player_create (&this->player_handle);
metadata_extractor_create (&this->audioMetadataHandle);
return &this->audio;
}

Here is the call graph for this function:

File NewFile ( void  )

새로운 File 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
File
Note
새로운 File 객체를 생성한다.
File 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyFile
deleteFile
copyFile
moveFile
searchFile
deleteSearchedList
Precondition
privilege
Warning
사용이 끝났을 때 DestroyFile() 함수를 꼭 사용해야 한다.
File NewFile (void)
{
File this = malloc (sizeof (struct _File));
this->Delete = deleteFile;
this->Copy = copyFile;
this->Move = moveFile;
this->Search = searchFile;
return this;
}

Here is the call graph for this function:

Image NewImage ( void  )

새로운 Image 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
Video
Note
새로운 Image 객체를 생성한다.
Image 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyImage
setImageURI
getImageMediaId
getImageDate
getImageWidth
getImageHeight
Warning
사용이 끝났을 때 DestoryImage() 함수를 꼭 사용해야 한다.
Image NewImage ()
{
ImageExtends * this = (ImageExtends *)malloc (sizeof (ImageExtends));
this->image.setURI = setImageURI;
this->imageMetaHandle = NULL;
this->image.getMediaId = getImageMediaId;
this->image.getDate = getImageDate;
this->image.getWidth = getImageWidth;
this->image.getHeight = getImageHeight;
this->height = -1;
this->width = -1;
this->datetaken = NULL;
this->media_id = NULL;
return &this->image;
}

Here is the call graph for this function:

Video NewVideo ( void  )

새로운 Video 객체를 생성한다.

Parameters
[in]void
[out]null
Return values
Video
Note
새로운 Video 객체를 생성한다.
Video 객체를 사용하기 전에 반드시 호출해야 한다.
See Also
DestroyVideo
playVideo
pauseVideo
stopVideo
getVideoInfo
setVideoURI
setEvasObject
Precondition
privilege
Warning
사용이 끝났을 때 DestoryVideo() 함수를 꼭 사용해야 한다.
Video NewVideo (void)
{
VideoExtends * this = (VideoExtends *)malloc (sizeof (VideoExtends));
this->video.getInfo = getVideoInfo;
this->video.Pause = pauseVideo;
this->video.Play = playVideo;
this->video.Stop = stopVideo;
this->video.setURI = setVideoURI;
this->video.setObject = setEvasObject;
this->videoMetadataHandle = NULL;
this->player_handle = NULL;
this->uri = NULL;
this->EvasObject = NULL;
player_create (&this->player_handle);
metadata_extractor_create (&this->videoMetadataHandle);
return &this->video;
}

Here is the call graph for this function:

bool pauseAudio ( Audio  this_gen)

음악 파일을 일시 정지한다.

Parameters
[in]this_gen일시 정지할 Audio 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
해당 Audio 객체를 일시 정지한다.
See Also
NewAudio
DestroyAudio
playAudio
stopAudio
getAudioInfo
setAudioURI
Precondition
privilege
Warning
음악 파일을 일시 정지하기 전 해당 Audio 객체는 playAudio()를 통해 현재 재생 중이여야 한다.

Here is the call graph for this function:

Here is the caller graph for this function:

bool pauseVideo ( Video  this_gen)

동영상 파일을 일시 정지한다.

Parameters
[in]this_gen일시 정지할 Video 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
해당 Video 객체를 일시 정지한다.
동영상 파일을 일시 정지하기 전 해당 Video 객체는 playVideo()를 통해 현재 재생 중이여야 한다.
See Also
NewVideo
DestroyVideo
playVideo
stopVideo
getVideoInfo
setVideoURI
setEvasObject
Precondition
privilege

Here is the call graph for this function:

Here is the caller graph for this function:

bool playAudio ( Audio  this_gen)

음악 파일을 재생한다.

Parameters
[in]this_gen재생할 Audio 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
해당 Audio 객체를 재생한다.
See Also
NewAudio
DestroyAudio
pauseAudio
stopAudio
getAudioInfo
setAudioURI
Precondition
privilege
Warning
음악 파일을 재생하기 전 NewAudio() 함수를 통해 Audio 객체를 생성한 후
setAudioURI()를 통해 Audio 객체의 설정을 하고 사용해야한다.

Here is the call graph for this function:

Here is the caller graph for this function:

const char* PlayerErrorCheck ( int  ret)

Audio / Video를 play하는 API에서 발생하는 Error Code들을 확인 해준다.

Parameters
[in]errCode확인 하고자 하는 Error Code
[out]null
Return values
PLAYER_ERROR_NONE: Successful
PLAYER_ERROR_OUT_OF_MEMORY: Out of memory
PLAYER_ERROR_INVALID_PARAMETER: Invalid parameter
PLAYER_ERROR_NO_SUCH_FILE: No such file or directory
PLAYER_ERROR_INVALID_OPERATION: Invalid operation
PLAYER_ERROR_FILE_NO_SPACE_ON_DEVICE: No space left on the device
PLAYER_ERROR_FEATURE_NOT_SUPPORTED_ON_DEVICE: Not supported
PLAYER_ERROR_SEEK_FAILED: Seek operation failure
PLAYER_ERROR_INVALID_STATE: Invalid state
PLAYER_ERROR_NOT_SUPPORTED_FILE: File format not supported
PLAYER_ERROR_INVALID_URI: Invalid URI
PLAYER_ERROR_SOUND_POLICY: Sound policy error
PLAYER_ERROR_CONNECTION_FAILED: Streaming connection failed
PLAYER_ERROR_VIDEO_CAPTURE_FAILED: Video capture failed
PLAYER_ERROR_DRM_EXPIRED: Expired license
PLAYER_ERROR_DRM_NO_LICENSE: No license
PLAYER_ERROR_DRM_FUTURE_USE: License for future use
PLAYER_ERROR_DRM_NOT_PERMITTED: Format not permitted
PLAYER_ERROR_RESOURCE_LIMIT: Resource limit
PLAYER_ERROR_PERMISSION_DENIED: Permission denied
PLAYER_ERROR_UNKNOWN: Unknown error occurred
Note
Audio / Video를 play하는 API에서 발생하는 Error Code들을 확인 해준다.
Error의 내용은 Log를 통해 출력 된다.
21가지의 Error Code들을 확인 가능 하다.
See Also
Tizen Native API Document - Player Error

Here is the caller graph for this function:

bool playVideo ( Video  this_gen)

동영상 파일을 재생한다.

Parameters
[in]this_gen재생할 Video 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
해당 Video 객체를 재생한다.
동영상 파일을 재생하기 전 NewVideo() 함수를 통해 Video 객체를 생성한 후
setEvasObject()setVideoURI()를 통해 Video 객체의 설정을 하고 사용해야한다.
See Also
NewVideo
DestroyVideo
pauseVideo
stopVideo
getVideoInfo
setVideoURI
setEvasObject
Precondition
privilege

Here is the call graph for this function:

Here is the caller graph for this function:

GList* searchFile ( String  src,
String  dst 
)

파일을 검색한다.

Parameters
[in]src검색을 수행 할 위치의 path
[in]dst검색 할 파일의 이름
[out]null
Return values
GList*
Note
src 폴더 내부에서 dst 키워드를 가진 파일을 검색한다.
See Also
NewFile
DestroyFile
deleteFile
copyFile
moveFile
deleteSearchedList
Precondition
privilege

Here is the caller graph for this function:

bool setAudioURI ( Audio  this_gen,
String  uri 
)

생성한 Audio 객체의 URI를 설정한다.

Parameters
[in]this_genURI를 설정할 Audio 객체
[in]URI설정할 URI
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Audio 객체의 URI를 설정한다.
See Also
NewAudio
DestroyAudio
playAudio
pauseAudio
stopAudio
getAudioInfo
Precondition
privilege
Warning
playAudio() , pauseAudio() , stopAudio() , getAudioInfo() 함수를 사용하기 전에 미리 URI를 설정해야 한다.

Here is the call graph for this function:

Here is the caller graph for this function:

bool setEvasObject ( Video  this_gen,
Evas_Object *  EvasObject 
)

생성한 Video 객체의 Evas Object를 설정한다.

Parameters
[in]this_genEvas Object를 설정할 Video 객체
[in]EvasObject설정할 Evas Object
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Video 객체의 Evas Object를 설정한다.
See Also
NewVideo
DestroyVideo
playVideo
pauseVideo
stopVideo
getVideoInfo
setVideoURI
Precondition
privilege

Here is the call graph for this function:

Here is the caller graph for this function:

bool setImageURI ( Image  this_gen,
String  src 
)

생성한 Image 객체의 URI를 설정한다.

Parameters
[in]this_genImage 객체
[in]src설정할
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Image 객체의 URI를 설정한다.
See Also
NewImage
DestroyImage
getImageMediaId
getImageDate
getImageWidth
getImageHeight

Here is the call graph for this function:

Here is the caller graph for this function:

bool setVideoURI ( Video  this_gen,
String  uri 
)

생성한 Video 객체의 URI를 설정한다.

Parameters
[in]this_genURI를 설정할 Video 객체
[in]URI설정할 URI
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
생성한 Video 객체의 URI를 설정한다.
See Also
NewVideo
DestroyVideo
playVideo
pauseVideo
stopVideo
getVideoInfo
setEvasObject
Precondition
privilege
Warning
playVideo() , pauseVideo() , stopVideo() , getVideoInfo() 함수를 사용하기 전에 미리 URI를 설정해야 한다.

Here is the call graph for this function:

Here is the caller graph for this function:

bool stopAudio ( Audio  this_gen)

동영상 파일을 정지한다.

Parameters
[in]this_gen정지할 Audio 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
해당 Audio 객체를 정지한다.
See Also
NewAudio
DestroyAudio
playAudio
pauseAudio
getAudioInfo
setAudioURI
Precondition
privilege

Here is the call graph for this function:

Here is the caller graph for this function:

bool stopVideo ( Video  this_gen)

동영상 파일을 정지한다.

Parameters
[in]this_gen정지할 Video 객체
[out]null
Return values
bool
함수의 성공 여부를 반환한다.
실패시 false를 반환하며 상세한 원인을 Log로 출력한다.
Note
해당 Video 객체를 정지한다.
See Also
NewVideo
DestroyVideo
playVideo
pauseVideo
getVideoInfo
setVideoURI
setEvasObject
Precondition
privilege

Here is the call graph for this function:

Here is the caller graph for this function: