日本語

SINETStream User Guide

SINETStream for Android

Interface SinetStreamReader.SinetStreamReaderListener

Method Summary

Method Detail

onReaderStatusChanged

void onReaderStatusChanged(boolean isReady)

onMessageReceived

void onMessageReceived(@NonNull
                       java.lang.String data)

onError

void onError(@NonNull
             java.lang.String description)

Interface SinetStreamWriter.SinetStreamWriterListener

Method Summary

Method Detail

onWriterStatusChanged

void onWriterStatusChanged(boolean isReady)

onError

void onError(@NonNull
             java.lang.String description)

Class SinetStreamReader

Nested Class Summary

Constructor Summary

Method Summary

Constructor Detail

public SinetStreamReader(@NonNull
                         android.content.Context context)

Method Detail

initialize

public void initialize(@NonNull
                       java.lang.String serviceName)

terminate

public void terminate()

Class SinetStreamWriter

Nested Class Summary

Constructor Summary

Method Summary

Constructor Detail

public SinetStreamWriter(@NonNull
                         android.content.Context context)

Method Detail

initialize

public void initialize(@NonNull
                       java.lang.String serviceName)

terminate

public void terminate()

publish

public void publish(@NonNull
                    java.lang.String message,
                    @Nullable
                    java.lang.Object userData)