Package apple.messages.protocol
Interface MSStickerBrowserViewDataSource
-
- All Known Implementing Classes:
MSStickerBrowserViewController
public interface MSStickerBrowserViewDataSourceThe MSStickerBrowserViewDataSource protocol declares the methods that the Sticker Browser View uses to access the contents of its data source object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longnumberOfStickersInStickerBrowserView(MSStickerBrowserView stickerBrowserView)Returns the number of Stickers that the sticker browser should show.MSStickerstickerBrowserViewStickerAtIndex(MSStickerBrowserView stickerBrowserView, long index)Returns the sticker that the sticker browser should show in the browser.
-
-
-
Method Detail
-
numberOfStickersInStickerBrowserView
long numberOfStickersInStickerBrowserView(MSStickerBrowserView stickerBrowserView)
Returns the number of Stickers that the sticker browser should show.- Parameters:
stickerBrowserView- The sticker browser view .- Returns:
- The number of stickers.
-
stickerBrowserViewStickerAtIndex
MSSticker stickerBrowserViewStickerAtIndex(MSStickerBrowserView stickerBrowserView, long index)
Returns the sticker that the sticker browser should show in the browser.- Parameters:
stickerBrowserView- The sticker browser view.index- The index of the sticker to show.- Returns:
- A MSSticker object.
-
-