ShareClient class
KO: KO: 카카오톡 공유 API 클라이언트
EN: Client for the Kakao Talk Sharing APIs
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isKakaoTalkSharingAvailable(
) → Future< bool> -
KO: 카카오톡 공유 가능 여부 확인
EN: Checks whether the Kakao Talk Sharing is available -
launchKakaoTalk(
Uri uri) → Future< void> -
KO: 카카오톡 공유 실행 URL로 카카오톡 실행
EN: Launches Kakao Talk with the URL to execute the Kakao Talk Sharing -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scrapImage(
{required String imageUrl, bool secureResource = true}) → Future< ImageUploadResult> -
KO: 이미지 스크랩하기
imageUrl에 이미지 URL 전달
secureResource로 이미지 URL을 HTTPS로 설정
EN: Scrape image
Pass the image URL toimageUrl
Set whether to use HTTPS for the image URL withsecureResource -
KO: 사용자 정의 템플릿으로 메시지 보내기
templateId에 사용자 정의 템플릿 ID 전달
templateArgs에 사용자 인자 키와 값 전달
serverCallbackArgs에 카카오톡 공유 전송 성공 알림에 포함할 키와 값 전달
EN: Send message with custom template
Pass the custom template ID totemplateId
Pass the keys and values of the user argument totemplateArgs
Pass the keys and values for the Kakao Talk Sharing success callback toserverCallbackArgs -
KO: 기본 템플릿으로 메시지 보내기
template에 메시지 템플릿 객체 전달
serverCallbackArgs에 카카오톡 공유 전송 성공 알림에 포함할 키와 값 전달
EN: Send message with default template
Pass an object of a message template totemplate
Pass the keys and values for the Kakao Talk Sharing success callback toserverCallbackArgs -
KO: 스크랩 메시지 보내기
url에 스크랩할 URL 전달
templateId에 사용자 정의 템플릿 ID 전달
templateArgs에 사용자 인자 키와 값 전달
serverCallbackArgs에 카카오톡 공유 전송 성공 알림에 포함할 키와 값 전달
EN: Send scrape message
Pass the URL to scrapeurl
Pass the custom template ID totemplateId
Pass the keys and values of the user argument totemplateArgs
Pass the keys and values for the Kakao Talk Sharing success callback toserverCallbackArgs -
toString(
) → String -
A string representation of this object.
inherited
-
uploadImage(
{File? image, Uint8List? byteData, bool secureResource = true}) → Future< ImageUploadResult> -
KO: 이미지 업로드하기
image에 이미지 파일 전달
secureResource로 이미지 URL을 HTTPS로 설정
EN: Upload image
Pass the image file toimage
Set whether to use HTTPS for the image URL withsecureResource
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → ShareClient
-
final