public static final class BlocksInfoRequest.Builder
extends java.lang.Object
BlocksInfoRequest object.| Constructor and Description |
|---|
Builder(android.content.Context context,
java.lang.String partnerId,
RequestListener<BlocksInfo> requestListener)
Creates a new
BlocksInfoRequest.Builder for constructing a BlocksInfoRequest |
| Modifier and Type | Method and Description |
|---|---|
BlocksInfoRequest |
build()
Creates a
BlocksInfoRequest with the arguments supplied to this builder. |
BlocksInfoRequest.Builder |
setCategory(java.lang.String categoryId) |
public Builder(@NonNull
android.content.Context context,
@NonNull
java.lang.String partnerId,
@Nullable
RequestListener<BlocksInfo> requestListener)
BlocksInfoRequest.Builder for constructing a BlocksInfoRequestcontext - Interface to global information about an application environment.partnerId - Identifier, received by advertising platform and used in all requests.requestListener - A listener to receive
downloadedBlocksInfojava.lang.NullPointerException - If the context is nullpublic BlocksInfoRequest build()
BlocksInfoRequest with the arguments supplied to this builder. It does not
perform that request.BlocksInfoRequestpublic BlocksInfoRequest.Builder setCategory(@NonNull java.lang.String categoryId)
categoryId - site category identifier, Customer can create new category in
administration panel. Default value is 0.BlocksInfoRequest.Builder object.