Share Client
class ShareClient(shareApi: ShareApi = ApiFactory.kapi.create(ShareApi::class.java), kakaotalkShareIntentClient: KakaoTalkShareIntentClient = KakaoTalkShareIntentClient.instance)
카카오톡 공유 API 클라이언트
Client for the Kakao Talk Sharing APIs
Constructors
Functions
Link copied to clipboard
카카오톡 공유 가능 여부 확인
Checks whether the Kakao Talk Sharing is available
Link copied to clipboard
fun scrapImage(imageUrl: String, secureResource: Boolean = true, callback: (imageUploadResult: ImageUploadResult?, error: Throwable?) -> Unit)
이미지 스크랩하기
Scrape image
Link copied to clipboard
fun shareDefault(context: Context, defaultTemplate: DefaultTemplate, serverCallbackArgs: Map<String, String>? = null, callback: (sharingResult: SharingResult?, error: Throwable?) -> Unit)
기본 템플릿으로 메시지 보내기
Send message with default template
Link copied to clipboard
fun uploadImage(image: File, secureResource: Boolean = true, callback: (imageUploadResult: ImageUploadResult?, error: Throwable?) -> Unit)
이미지 업로드하기
Upload image