Story Api Client
카카오스토리 API 호출을 담당하는 클라이언트.
Constructors
Link copied to clipboard
fun StoryApiClient(storyApi: StoryApi = ApiFactory.kapiWithOAuth.create(StoryApi::class.java))
Content copied to clipboard
Types
Functions
Link copied to clipboard
fun isStoryUser(callback: (isStoryUser: Boolean?, error: Throwable?) -> Unit)
Content copied to clipboard
카카오스토리 사용자인지 확인하기.
Link copied to clipboard
fun postLink(linkInfo: LinkInfo, content: String, permission: Story.Permission = Story.Permission.PUBLIC, enableShare: Boolean = true, androidExecParam: Map<String, String>? = null, iosExecParam: Map<String, String>? = null, androidMarketParam: Map<String, String>? = null, iosMarketParam: Map<String, String>? = null, callback: (storyPostResult: StoryPostResult?, error: Throwable?) -> Unit)
Content copied to clipboard
카카오스토리에 링크 스토리 쓰기
Link copied to clipboard
fun postNote(content: String, permission: Story.Permission = Story.Permission.PUBLIC, enableShare: Boolean = true, androidExecParam: Map<String, String>? = null, iosExecParam: Map<String, String>? = null, androidMarketParam: Map<String, String>? = null, iosMarketParam: Map<String, String>? = null, callback: (storyPostResult: StoryPostResult?, error: Throwable?) -> Unit)
Content copied to clipboard
카카오스토리에 글 스토리 쓰기.
Link copied to clipboard
fun postPhoto(images: List<String>, content: String, permission: Story.Permission = Story.Permission.PUBLIC, enableShare: Boolean = true, androidExecParam: Map<String, String>? = null, iosExecParam: Map<String, String>? = null, androidMarketParam: Map<String, String>? = null, iosMarketParam: Map<String, String>? = null, callback: (storyPostResult: StoryPostResult?, error: Throwable?) -> Unit)
Content copied to clipboard
카카오스토리에 사진 스토리 쓰기.
Link copied to clipboard
fun profile(secureResource: Boolean? = true, callback: (profile: StoryProfile?, error: Throwable?) -> Unit)
Content copied to clipboard
카카오스토리 프로필 가져오기.