LinkClient class
카카오링크 API 호출을 담당하는 클라이언트
Constructors
- LinkClient(LinkApi api, {Platform? platform})
Properties
Methods
-
customTemplate(
{required int templateId, Map< String, String> ? templateArgs, Map<String, String> ? serverCallbackArgs}) → Future<Uri> - 카카오 디벨로퍼스에서 생성한 메시지 템플릿을 카카오톡으로 공유 템플릿을 생성하는 방법은 메시지 템플릿 가이드 참고
-
defaultTemplate(
{required DefaultTemplate template, Map< String, String> ? serverCallbackArgs}) → Future<Uri> - 기본 템플릿을 카카오톡으로 공유
-
isKakaoLinkAvailable(
) → Future< bool> -
launchKakaoTalk(
Uri uri) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scrapImage(
{required String imageUrl, bool secureResource = true}) → Future< ImageUploadResult> - 카카오링크 컨텐츠 이미지로 활용하기 위해 원격 이미지를 카카오 이미지 서버로 업로드
-
scrapTemplate(
{required String url, int? templateId, Map< String, String> ? templateArgs, Map<String, String> ? serverCallbackArgs}) → Future<Uri> - 카카오링크 컨텐츠 이미지로 활용하기 위해 원격 이미지를 카카오 이미지 서버로 업로드 지정된 URL 을 스크랩하여 만들어진 템플릿을 카카오톡으로 공유
-
toString(
) → String -
A string representation of this object.
inherited
-
uploadImage(
{required File image, bool secureResource = true}) → Future< ImageUploadResult> - 카카오링크 컨텐츠 이미지로 활용하기 위해 로컬 이미지를 카카오 이미지 서버로 업로드
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → LinkClient
-
간편한 API 호출을 위해 기본 제공되는 singleton 객체
final