public class GatewayAPIBuilder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
GatewayAPI |
build()
Instantiate new GatewayAPI instance.
|
static GatewayAPIBuilder |
newBuilder(android.content.Context context,
KiiApp app,
android.net.Uri gatewayAddress)
Instantiate new GatewayAPIBuilder.
|
GatewayAPIBuilder |
setTag(java.lang.String tag)
Set tag to this GatewayAPI instance.
|
public GatewayAPIBuilder setTag(java.lang.String tag)
GatewayAPI.loadFromStoredInstance(Context, String)
as well.tag
- if null or empty string is passed, it will be ignored.public static GatewayAPIBuilder newBuilder(android.content.Context context, KiiApp app, android.net.Uri gatewayAddress)
context
- Application context.app
- Kii Cloud Application.gatewayAddress
- address information for the gatewaypublic GatewayAPI build()
Copyright 2015 Kii Corporation. All rights reserved. (Last updated on 2016-10-13 08:55 UTC)