API References

API References

 

API 문서 정보

버전 : 3.0.13

날짜 : 2026. 01. 26

com.kollus.sdk.media.MediaPlayer.APP_STATUS 인터페이스 참조

com.kollus.sdk.media.MediaPlayer.APP_STATUS

com.kollus.sdk.media.content.BandwidthItem 클래스 참조

Public 멤버 함수

  • BandwidthItem (int bandwidth, String bandwidthName)

  • int getBandwidth ()

  • String getBandwidthName ()

상세한 설명

ABR 컨텐츠의 대역폭 정보를 관리하는 인터페이스 

 

생성자 & 소멸자 문서화

com.kollus.sdk.media.content.BandwidthItem.BandwidthItem (int  bandwidth, String  bandwidthName)

대역폭 정보를 관리하는 인터페이스의 생성자. SDK내부에서 관리합니다. 

매개변수

bandwidth 

대역폭 

bandwidthName 

대역폭 이름 

 

멤버 함수 문서화

int com.kollus.sdk.media.content.BandwidthItem.getBandwidth ()

onChangedBandwidth 콜백된 경우 대역폭을 알고자 하는 경우 호출하시면 됩니다. 

반환값

대역폭 

String com.kollus.sdk.media.content.BandwidthItem.getBandwidthName ()

onChangedBandwidth 콜백된 경우 해당 대역폭의 이름을 알고자 하는 경우 호출하시면 됩니다. 비디오 화면 사이즈가 정보가 있는 경우 세로에 P가 붙고 알 수 없으면 대역폭을 kbps단위로 명명합니다.

반환값

대역폭 이름 


com.kollus.sdk.media.content.KollusContent.ChapterInfo.Chapter 클래스 참조

Public 멤버 함수

int getPosition ()

String getValue ()

 

상세한 설명

챕터 정보 클래스

 

멤버 함수 문서화

int com.kollus.sdk.media.content.KollusContent.ChapterInfo.Chapter.getPosition ()

해당 챕터의 시간 정보

반환값

챕터 시간(초)

String com.kollus.sdk.media.content.KollusContent.ChapterInfo.Chapter.getValue ()

해당 챕터의 설명

반환값

챕터 설명 


com.kollus.sdk.media.content.KollusContent.ChapterInfo 클래스 참조

Public 멤버 함수

String getLanguage ()

List< Chapter > getChapters ()

 

멤버 함수 문서화

List< Chapter > com.kollus.sdk.media.content.KollusContent.ChapterInfo.getChapters ()

챕터 리스트를 가져오는 함수

반환값

 

String com.kollus.sdk.media.content.KollusContent.ChapterInfo.getLanguage ()

해당 챕터의 언어 코드를 가져오는 함수

반환값

언어 코드


com.kollus.sdk.media.content.KollusContent.ChattingInfo 클래스 참조

Public 속성

  • String mainUrl

  • String kind

  • String position

  • boolean isVisible

  • boolean isAdmin

  • boolean isAnonymous

  • boolean bDisableDefaultProfilePhoto

  • String roomId

  • String chatServer

  • String helloMessage

  • String userName

  • String userId

  • String photoUrl

상세한 설명

채팅 정보 인터페이스 

멤버 데이터 문서화

boolean com.kollus.sdk.media.content.KollusContent.ChattingInfo.bDisableDefaultProfilePhoto

사용자 대표이미지 보이기 유무 

String com.kollus.sdk.media.content.KollusContent.ChattingInfo.chatServer

채팅 서버 

String com.kollus.sdk.media.content.KollusContent.ChattingInfo.helloMessage

채팅 입장 메세지 

boolean com.kollus.sdk.media.content.KollusContent.ChattingInfo.isAdmin

관리자인지 여부 

boolean com.kollus.sdk.media.content.KollusContent.ChattingInfo.isAnonymous

익명인지 여부 

boolean com.kollus.sdk.media.content.KollusContent.ChattingInfo.isVisible

채팅 보이는지 여부 

String com.kollus.sdk.media.content.KollusContent.ChattingInfo.kind

채팅 종류 

String com.kollus.sdk.media.content.KollusContent.ChattingInfo.mainUrl

채팅 메인 주소 

String com.kollus.sdk.media.content.KollusContent.ChattingInfo.photoUrl

사용자 대표 이미지 

String com.kollus.sdk.media.content.KollusContent.ChattingInfo.position

채팅 위치 

String com.kollus.sdk.media.content.KollusContent.ChattingInfo.roomId

채팅방 번호 

String com.kollus.sdk.media.content.KollusContent.ChattingInfo.userId

사용자 아이디 

String com.kollus.sdk.media.content.KollusContent.ChattingInfo.userName

사용자 이름 


com.kollus.sdk.media.content.KollusContent.ContentType Enum Reference

Public 속성

  • EXT_DRM_CONTENT

  • KOLLUS_CONTENTEXT_DRM_CONTENT

 

상세한 설명

컨텐츠 타입관련 인터페이스 

 

멤버 데이터 문서화

com.kollus.sdk.media.content.KollusContent.ContentType.EXT_DRM_CONTENT

Multi DRM 컨텐츠 

com.kollus.sdk.media.content.KollusContent.ContentType.KOLLUS_CONTENT

Kollus DRM 컨텐츠 


com.kollus.sdk.media.util.CpuInfo 클래스 참조

Public 멤버 함수

  • String getCpuName ()

  • boolean isSupportDevice ()

  • Vector< String > getFrequence ()

  • int getFrequenceWithInt ()

  • int getCpuCount ()

  • boolean hasFeature (String feature)

정적 Public 멤버 함수

  • static synchronized CpuInfo getInstance ()

 

멤버 함수 문서화

int com.kollus.sdk.media.util.CpuInfo.getCpuCount ()

CPU의 코어 수를 가져오는 함수 

반환값

CPU 코어 수 

String com.kollus.sdk.media.util.CpuInfo.getCpuName ()

CPU의 이름을 가져오는 함수 

반환값

프로세스 이름 

Vector< String > com.kollus.sdk.media.util.CpuInfo.getFrequence ()

CPU의 freequency를 String형으로 가져오는 함수 

반환값

CPU 클럭 리스트 

int com.kollus.sdk.media.util.CpuInfo.getFrequenceWithInt ()

CPU의 freequency를 int형으로 가져오는 함수 

반환값

CPU 최대 클럭 

static synchronized CpuInfo com.kollus.sdk.media.util.CpuInfo.getInstance ()[static]

Singleton 생성자 

반환값

CpuInfo 인스턴스 

boolean com.kollus.sdk.media.util.CpuInfo.hasFeature (String  feature)

CPU에 주어진 feature가 있는 지 여부를 알 수 있는 함수 

매개변수

feature 

확인을 원하는 feature 

반환값

feature가 있는 지 여부 

boolean com.kollus.sdk.media.util.CpuInfo.isSupportDevice ()

지원하는 단말인 지 확인하는 함수 

반환값

지원 여부 


com.kollus.sdk.media.util.Utils.DEVICE_TYPE Enum Reference

Public 속성

  • DEVICE_MOBILE

  • DEVICE_TABLET

  • DEVICE_TV

 

상세한 설명

디바이스 타입 

 

멤버 데이터 문서화

com.kollus.sdk.media.util.Utils.DEVICE_TYPE.DEVICE_MOBILE

모바일 

com.kollus.sdk.media.util.Utils.DEVICE_TYPE.DEVICE_TABLET

테블릿 

com.kollus.sdk.media.util.Utils.DEVICE_TYPE.DEVICE_TV

TV 

 

 

com.kollus.sdk.media.KollusStorage.DrmSessionManagerListener 인터페이스 참조

Public 멤버 함수

  • void onError (int errorCode)


com.kollus.sdk.media.EmulatorCheckerListener 인터페이스 참조

Public 멤버 함수

  • void onDetectRooting ()

  • void onRunningEmulator ()

  • void onDetectDebuggingMode ()

 

멤버 함수 문서화

void com.kollus.sdk.media.EmulatorCheckerListener.onDetectDebuggingMode ()

재생 중에 디버깅 모드가 켜져 있는 경우 호출됩니다. 

void com.kollus.sdk.media.EmulatorCheckerListener.onDetectRooting ()

재생 중에 루팅이 감지되었을 때 호출됩니다. 

void com.kollus.sdk.media.EmulatorCheckerListener.onRunningEmulator ()

에뮬레이터에서 재생했을 때 호출됩니다. 


com.kollus.sdk.media.util.ErrorCodes 클래스 참조

Public 멤버 함수

  • String getErrorString (int errorCode)

정적 Public 멤버 함수

  • static synchronized ErrorCodes getInstance (Context context)

정적 Public 속성

  • static final int ERROR_OK = 0

  • static final int ERROR_UNDEFINED_CODE = -1000

  • static final int MEDIA_ERROR_IO = -1004

  • static final int MEDIA_ERROR_MALFORMED = -1007

  • static final int ERROR_UNSUPPORTED = -1010

  • static final int ERROR_UNSUPPORTED_DEVICE = -1015

  • static final int ERROR_CODEC_INIT = -1102

  • static final int ERROR_CODEC_DECODE = -1103

  • static final int ERROR_CHECK_SETTING_NOT_SW_CODEC = -1104

  • static final int ERROR_SERVER_BLACK_OUT = -1105

  • static final int ERROR_ALREADY_DOWNLOADED = -1631

  • static final int ERROR_TMCM_INIT = -2001

  • static final int ERROR_TMCM_ROOTING = -2002

  • static final int ERROR_TMCM_EMURATOR = -2003

  • static final int ERROR_EMURATOR = -2004

  • static final int ERROR_EMURATOR_VIA_DEVICE = -2005

  • static final int ERROR_UNKNOWN_MULTI_DRM = -2100

  • static int ERROR_INCORRECT_PACKAGE_NAME = -2103

  • static int ERROR_EXPIRED_AUTH_DATE = -2104

  • static int ERROR_INCORRECT_AUTH_DATE = -2105

  • static int ERROR_INCORRECT_AUTH_KEY = -2106

  • static int ERROR_NOT_ENOUGH_AUTH_INFO = -2107

  • static final int ERROR_LIVE_NOT_BROADCASTING = -3012

  • static final int ERROR_DUPLICATION_BLOCK_OR_EXPIRED_TIME_MEDIA_KEY = -3013

  • static final int ERROR_INVALID_MEDIA_CONTENT_KEY = -4001

  • static final int ERROR_INVALID_SECURITY_KEY = -4002

  • static final int ERROR_INVALID_CHANNEL_KEY = -4003

  • static final int ERROR_INVALID_USER_KEY = -4004

  • static final int ERROR_INVALID_TRANSCODING_FILE_PATH = -4005

  • static final int ERROR_INVALID_ALIAS_KEY = -4006

  • static final int ERROR_INVALID_JWT = -4007

  • static final int ERROR_INVALID_MEDIA_TOKEN = -4008

  • static final int ERROR_NO_TRANSCODING_FILE = -4011

  • static final int ERROR_NO_MEDIA_CONTENT = -4012

  • static final int ERROR_NO_CONTENT_OWNER = -4013

  • static final int ERROR_NO_CONTENT_DISTRIBUTOR = -4014

  • static final int ERROR_NO_CHANNEL = -4015

  • static final int ERROR_NO_PAYMENT = -4016

  • static final int ERROR_NO_DEFAULT_MAIN_SITE = -4019

  • static final int ERROR_NO_MAIN_MEDIA_CONTENT = -4020

  • static final int ERROR_UNAVAILABLE_TRANSCODING_FILE = -4021

  • static final int ERROR_UNAVAILABLE_MEDIA_CONTENT = -4022

  • static final int ERROR_UNAVAILABLE_CONTENT_OWNER = -4023

  • static final int ERROR_UNAVAILABLE_CONTENT_DISTRIBUTOR = -4024

  • static final int ERROR_UNAVAILABLE_CHANNEL = -4025

  • static final int ERROR_UNAVAILABLE_CHANNEL_DISTRIBUTION = -4026

  • static final int ERROR_NOT_ALLOWED_REFERER = -4031

  • static final int ERROR_NOT_ALLOWED_ACCESS_FOR_BLOCKING_CAPTURE = -4032

  • static final int ERROR_NOT_PUBLIC_SHARED_CHANNEL = -4081

  • static final int ERROR_MISMATCH_USER_KEY = -4082

  • static final int ERROR_ACCESS_WITHOUT_MEDIA_CONTENT_KEY = -4083

  • static final int ERROR_NOT_SUPPORT_DEVICE = -4084

  • static final int ERROR_TOKEN_EXPIRED = -4085

  • static final int ERROR_NETWORK_CON_TIMEOUT = -4105

  • static final int ERROR_MULTI_DRM_EXPIRED = -7000

  • static final int ERROR_INVALID_CRYPTO_KEY = -7001

  • static final int ERROR_WIDEVINE_NOT_SUPPORT = -7109

  • static final int ERROR_STOAGE_MANAGER_BASE = -8000

  • static final int ERROR_CURLE_COULDNT_RESOLVE_HOST = -8006

  • static final int ERROR_CURLE_COULDNT_CONNECT = -8007

  • static final int ERROR_CURLE_PARTIAL_FILE = -8018

  • static final int ERROR_CURLE_OPERATION_TIMEDOUT = -8028

  • static final int ERROR_CURLE_RECV_ERROR = -8056

  • static final int ERROR_BAD_REQUEST = -8400

  • static final int ERROR_UNAUTHORIZED_1 = -8401

  • static final int ERROR_UNAUTHORIZED_2 = -8402

  • static final int ERROR_FORBIDDEN = -8403

  • static final int ERROR_NOT_EXIST_FILE = -8404

  • static final int ERROR_METHOD_NOT_ALLOWED = -8405

  • static final int ERROR_INTERNAL_SERVER = -8500

  • static final int ERROR_NOT_IMPLEMENTED = -8501

  • static final int ERROR_BAD_GATEWAY = -8502

  • static final int ERROR_SERVICE_UNAVAILABLE = -8503

  • static final int ERROR_GATEWAY_TIMEOUT = -8504

  • static final int ERROR_HTTP_VERSION_NOT_SUPPORTED = -8505

  • static final int ERROR_REQUEST_URL = -8461

  • static final int ERROR_GET_USER_IP = -8462

  • static final int ERROR_ACCESS_DENIED_FOLDER = -8463

  • static final int ERROR_DUPLICATION_BLOCK_PROCESS = -8464

  • static final int ERROR_VERIFY_MEDIA_KEY = -8465

  • static final int ERROR_REQEST_URL_BLOCK = -8466

  • static final int ERROR_MEDIA_KEY_TIME_EXPIRE = -8467

  • static final int ERROR_MEDIA_DOMAIN_VALIDATE = -8468

  • static final int ERROR_HEAVY_REQUEST = -8469

  • static final int ERROR_PLYMENT = -8470

  • static final int ERROR_GEO_RESTRICTION = -8471

  • static final int ERROR_PREVIEW_ERROR = -8472

  • static final int ERROR_USER_KEY = -8473

  • static final int ERROR_CONTENT_NOT_PUBLIC_CHANNEL = -8474

  • static final int ERROR_USED_MEDIA_KEY = -8475

  • static final int ERROR_MAX_REQUEST_SIZE = -8476

  • static final int ERROR_DIFFERENT_ES_KEY = -8477

Copyright © CATENOID, lnc. All Rights Reserved.
E-mail. support@catenoid.net | Tel. 1544-4367