RxShareClient

class RxShareClient(api: RxShareApi = ApiFactory.rxKapi.create(RxShareApi::class.java), kakaotalkShareIntentClient: KakaoTalkShareIntentClient = KakaoTalkShareIntentClient.instance)

카카오톡 공유 API 클라이언트
Client for the Kakao Talk Sharing APIs

Constructors

Link copied to clipboard
constructor(api: RxShareApi = ApiFactory.rxKapi.create(RxShareApi::class.java), kakaotalkShareIntentClient: KakaoTalkShareIntentClient = KakaoTalkShareIntentClient.instance)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun scrapImage(imageUrl: String, secureResource: Boolean = true): Single<ImageUploadResult>

이미지 스크랩하기
Scrape image

Link copied to clipboard
fun shareCustom(context: Context, templateId: Long, templateArgs: Map<String, String>? = null, serverCallbackArgs: Map<String, String>? = null): Single<SharingResult>

사용자 정의 템플릿으로 메시지 보내기
Send message with custom template

Link copied to clipboard
fun shareDefault(context: Context, defaultTemplate: DefaultTemplate, serverCallbackArgs: Map<String, String>? = null): Single<SharingResult>

기본 템플릿으로 메시지 보내기
Send message with default template

Link copied to clipboard
fun shareScrap(context: Context, url: String, templateId: Long? = null, templateArgs: Map<String, String>? = null, serverCallbackArgs: Map<String, String>? = null): Single<SharingResult>

스크랩 메시지 보내기
Send scrape message

Link copied to clipboard
fun uploadImage(image: File, secureResource: Boolean = true): Single<ImageUploadResult>

이미지 업로드하기
Upload image