ShareApi class

Kakao SDK의 카카오톡 공유 내부 동작에 사용되는 클라이언트

Constructors

ShareApi(Dio dio)

Properties

dio → Dio
final
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

custom(int templateId, {Map<String, String>? templateArgs}) → Future<SharingResult>
카카오디벨로퍼스에서 생성한 메시지 템플릿을 카카오톡 메시지로 공유
defaultTemplate(DefaultTemplate template) → Future<SharingResult>
기본 템플릿을 카카오톡 메시지로 공유
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scrap(String url, {int? templateId, Map<String, String>? templateArgs}) → Future<SharingResult>
지정된 URL을 스크랩하여 만들어진 템플릿을 카카오톡 메시지로 공유
scrapImage(String imageUrl, {bool secureResource = true}) → Future<ImageUploadResult>
원격 이미지를 카카오톡 공유 컨텐츠 이미지로 활용하기 위해 카카오 이미지 서버로 업로드
toString() → String
A string representation of this object.
inherited
uploadImage(File? image, Uint8List? byteData, {bool secureResource = true}) → Future<ImageUploadResult>
로컬 이미지를 카카오톡 공유 컨텐츠 이미지로 활용하기 위해 카카오 이미지 서버로 업로드

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

instance ShareApi
final