WebSharerClient class
KO: 카카오톡 공유 API 클라이언트, 웹 공유 기능 제공
EN: Client for the Kakao Talk Sharing APIs, provides sharing features for the web
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
-
makeCustomUrl(
{required int templateId, Map< String, String> ? templateArgs, Map<String, String> ? serverCallbackArgs}) → Future<Uri> -
KO: 사용자 정의 템플릿을 카카오톡으로 공유하기 위한 URL 생성
templateId에 사용자 정의 템플릿 ID 전달
templateArgs에 사용자 인자 키와 값 전달
serverCallbackArgs에 카카오톡 공유 전송 성공 알림에 포함할 키와 값 전달
EN: Creates a URL to share a custom template via Kakao Talk
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 -
makeDefaultUrl(
{required DefaultTemplate template, Map< String, String> ? serverCallbackArgs}) → Future<Uri> -
KO: 기본 템플릿을 카카오톡으로 공유하기 위한 URL 생성
template에 기본 템플릿 객체 전달
serverCallbackArgs에 카카오톡 공유 전송 성공 알림에 포함할 키와 값 전달
EN: Creates a URL to share a default template via Kakao Talk
Pass the default template object totemplate
Pass the keys and values for the Kakao Talk Sharing success callback toserverCallbackArgs -
makeScrapUrl(
{required String url, int? templateId, Map< String, String> ? templateArgs, Map<String, String> ? serverCallbackArgs}) → Future<Uri> -
KO: 스크랩 정보로 구성된 메시지 템플릿을 카카오톡으로 공유하기 위한 URL 생성
url에 스크랩할 URL 전달
templateId에 사용자 정의 템플릿 ID 전달
templateArgs에 사용자 인자 키와 값 전달
serverCallbackArgs에 카카오톡 공유 전송 성공 알림에 포함할 키와 값 전달
EN: Creates a URL to share a scrape message via Kakao Talk
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 -
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 -
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 → WebSharerClient
-
final