The first step is to sign up to Yalgaar using our get started form. You can get in your dashboard in under few seconds. In your dashboard there is a demo app created, click on it and go to App Information page. You can see your client key. To Connect to a Yalgaar use your client key with UUID. UUID is any unique user name or user id for user to enable presence feature for client.
<!-- Include the Yalgaar Library -->
<script src="yalgaar.js" type="text/javascript"> </script>
<!-- Connect to Yalgaar with your client key -->
<script type="text/javascript">
ConnectToYalgaar({
ClientKey: 'YourClientKey',
SSL: false,
UUID:'YourUUID',
Callback: function (acknowledgement) {
},
Error: function (err) {
}
});
</script>
//Required .Net Framework 4.5 or above
//Using Yalgaar library
using YalgaarNet;
//Connect to Yalgaar with your client key
YalgaarClient yalgaar = new YalgaarClient("YourClientKey", false, "YourUUID", ConnectionCallback);
//Create object of Yalgaar client with context of application
YalgaarApiClient objYalgaarClient = new YalgaarApiClient.Builder(context).build();
//Connect to a Yalgaar client with your client key
yalgaar.connect("YourClientKey", false, "YourUUID", ConnectionCallback);
//iOS device with version 7.1 or above.
//create an object of YalgaarClient class.
YalgaarClient *objYalgaarClient = [[YalgaarClient alloc] init];
//Connect to Yalgaar with your client key
[objYalgaarClient connectWithClientKey:@"YourClientKey" IsSecure: YES WithUUID:@"YourUUID" Error:&error];
//called when connection done successfully
(void) didConnected{
}
For more languages,
check out Yalgaar SDK & Documentation page
SDK & Documentation
<!-- Subscribe to YourChannel -->
<script type="text/javascript">
SubscribeMessage({
ChannelName: 'YourChannel',
Callback: function (message, channel, acknowledgement) {
// Shows alert when message receive
alert(message);
},
CallbackPresence: function (message, channel, acknowledgment) {
// Shows alert when user bind or unbind on channel
alert(message);
}
});
</script>
//Subscribe to YourChannel
yalgaar.Subscribe("YourChannel", SubscribeReturnMessage, PresenceMessage, SubErrorMessage);
//shows message box when message subscribe
public void SubscribeReturnMessage(string Channel, string message)
{
MessageBox.Show(Message);
}
// Shows message box when user bind or unbind on channel
public void PresenceMessage(string Channel, string message)
{
MessageBox.Show(Message);
}
//shows message box when Error occur
private void SubErrorMessage(string Message)
{
MessageBox.Show(Message);
}
//Subscribe to YourChannel
yalgaar.subscribe("YourChannel", subscriptionCallback, presenceCallback);
//print when message subscribe
public void subscriptionCallback(string message)
{
System.out.println(message);
}
//print when user bind or unbind on channel
public void presenceCallback(string message)
{
System.out.println(message);
}
//Subscribe to Channel
[objYalgaarClient unsubscribeWithChannel:@"YourChannel" Error:&error];
//called when receive data
(void) dataReceivedForSubscription:(NSString *)data OnChannels:(NSArray *)Channels{
NSLog(@"Data received: %@", data);
}
//function called when someone subscribe to Channel
(void) dataReceivedOfPresenceForAction:(PresenceAction)action OnChannel:(NSString *)Channel UUID:(NSString*)uuid DateTime:(NSDate*)dateTime{
NSString* combineChannelAndData = [NSString stringWithFormat:@"Action:%@ - Channel:%@ - UUID:%@ - Time:%@", action, channel, uuid, [NSDateFormatter localizedStringFromDate:dateTime dateStyle:NSDateFormatterShortStyle timeStyle:NSDateFormatterShortStyle]];
NSLog(@"Data received: %@", combineChannelAndData);
}
For more languages,
check out Yalgaar SDK & Documentation page
SDK & Documentation
To subscribe message with presence use presence callback. The YALGAAR SDKs automatically subscribe channel for Presence event to show User Bind or Unbind on that channel.
At any given point of time, you can get a list of all users currently subscribed to a specific channel by calling a function in your app.
<!-- Get user list currently subscribe YourChannel -->
<script type="text/javascript">
GetUUIDList({
ChannelName: 'YourChannel',
Callback: function (list, err) {
}
});
</script>
//Get user list currently subscribe YourChannel
yalgaar.GetUUIDList("YourChannel", UserListCallback, ErrorMsgCallback);
//Note: UserListCallback and ErrorMsgCallback are callback methods
//Get user list currently subscribe YourChannel
yalgaar.getUUIDList("YourChannel", UserListCallback);
//Note: UserListCallback is callback method.
//Get user list currently subscribe YourChannel
[objYalgaarClient getUUIDListForChannel:@"YourChannel" Error:&error];
//Note: In response of above function call, below delegate will be called.
// (void) dataReceivedWithUUID:(NSArray*)arrUUID ForChannel:(NSString*)channel;
For more languages,
check out Yalgaar SDK & Documentation page
SDK & Documentation
<!-- Get Channel list subscribed by YourUUID -->
<script type="text/javascript">
GetChannelList({
UUID: 'YourUUID',
Callback: function (list, err) {
}
});
</script>
//Get Channel list subscribed by YourUUID
yalgaar.GetChannelList("YourUUID", ChannelListCallback, ErrorMsgCallback);
//Note: ChannelListCallback and ErrorMsgCallback are callback methods
//Get Channel list subscribed by YourUUID
yalgaar.getChannelList("YourUUID", ChannelListCallback);
//Note: ChannelListCallback is callback method.
//Get Channel list subscribed by User
[objYalgaarClient getChannelListForUUID:@”YourUUID” Error:&error];
//Note: In response of above function call, below delegate will be called.
// (void) dataReceivedWithChannels:(NSArray*)arrChannels ForUUID:(NSString*)uuid;
For more languages,
check out Yalgaar SDK & Documentation page
SDK & Documentation
As user list, you can also get a list of all channels subscribed by a specific user by calling a function in your app.
At SYSTEM LEVEL SOLUTIONS, we understand that privacy is an important issue for visitors to the SYSTEM LEVEL SOLUTIONS Web site www.slscorp.com. The following information is designed to help visitors understand what information we gather from our site, and how we handle the information once we gather it.
SYSTEM LEVEL SOLUTIONS is the sole owner of any information collected on this site. We will not sell, share, or rent this information to others in ways different from what is disclosed in this statement. SYSTEM LEVEL SOLUTIONS may collect information from users at several different points on our website. SYSTEM LEVEL SOLUTIONS may transfer the information collected to any relevant unit within SYSTEM LEVEL SOLUTIONS located anywhere in the world.
If a user contacts SYSTEM LEVEL SOLUTIONS with a general enquiry, the user may provide SYSTEM LEVEL SOLUTIONS with personal information (for example contact details). SYSTEM LEVEL SOLUTIONS will use this personal information to respond to the enquiry and track further correspondence. Information is also used to compile statistics on response handling, etc. This is done in aggregate, and no individual names or other personal information are retained. Personal information collected is not used for any other purpose.
Cookies are small text files that a Web site transfers to a site visitor's hard disk or browser for added functionality, or for tracking Web site usage. We do not use cookies to gather personal information such as a person's name or e-mail address. In order to measure the effectiveness of our online presence, SYSTEM LEVEL SOLUTIONS may use cookies to identify repeat visitors to our Web site, and to determine the path visitors take on our site. Any information gathered by the use of cookies is compiled on an aggregate, anonymous basis. Examples include:
We request information from the user on our feedback/grievance form. Here a user must provide contact information (like name and address) as well as the details as requested in the form. This information is used for studying the feedback/grievance provided by the customer/visitor and passing on the information to the concerned division/department for appropriate action at their end. If we have trouble processing the data, the contact information provided is used to get in touch with the user.
We may partner with another party to provide specific services. When the user signs up for these services, we will share names, or other contact information that is necessary for the third party to provide these services. These parties are not allowed to use personally identifiable information except for the purpose of providing these services.
This web site may contain links to other sites. Please be aware that SYSTEM LEVEL SOLUTIONS is not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects personally identifiable information. This privacy statement applies solely to information collected by this Web site.
SYSTEM LEVEL SOLUTIONS may, from time to time, make changes to this policy. We recommend that visitors to this site re-visit this privacy policy on every occasion to learn of new privacy practices or changes to our policy.
It is important to us at SYSTEM LEVEL SOLUTIONS to hear what visitors have to say about our services and our policies. If site visitors have any questions, concerns, or complaints about this Privacy Policy, or want to let us know what they think about any of our off-line and on-line products and services, they can goto contact us.