com.backendless.rt.messaging.MessagingCommandRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of backendless Show documentation
Show all versions of backendless Show documentation
Android SDK used by developers to provide Backendless API in apps.
package com.backendless.rt.messaging;
import com.backendless.rt.command.CommandRequest;
import com.backendless.rt.MethodTypes;
import com.backendless.rt.RTCallback;
class MessagingCommandRequest extends CommandRequest
{
MessagingCommandRequest( String channel, RTCallback callback )
{
super( MethodTypes.PUB_SUB_COMMAND, callback );
putOption( "channel", channel );
}
@Override
protected MessagingCommandRequest setData( Object data )
{
super.setData( data );
return this;
}
@Override
protected MessagingCommandRequest setType( String type )
{
super.setType( type );
return this;
}
}