shah77pc / SinchService-iOS

SinchService - a supplement to SinchRTC and SINClient

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SinchService

SinchService is a supplementary component to the Sinch RTC SDK for iOS (http://www.sinch.com/ios/).

Install via CocoaPods

Add to your Podfile:

pod 'SinchService'

Example Usage

 #import <Sinch/Sinch.h>
 #import <SinchService/SinchService.h>

 id config = [SinchService configWithApplicationKey:@"<APPLICATION KEY>"
                                  applicationSecret:@"<APPLICATION SECRET>"
                                    environmentHost:@"sandbox.sinch.com"];

 [config pushNotificationsWithEnvironment:SINAPSEnvironmentAutomatic];

 id<SINService> sinch = [SinchService serviceWithConfig:config];

 sinch.delegate = self;
 sinch.callClient.delegate = self;
 sinch.messageClient.delegate = self;

 [sinch logInUserWithId:@"<USER ID>"];

About

SinchService - a supplement to SinchRTC and SINClient

License:Apache License 2.0


Languages

Language:Objective-C 94.7%Language:Python 2.1%Language:C 1.9%Language:Ruby 0.9%Language:Shell 0.4%