Latest 1.5.0.9
Homepage https://github.com/SoundCast/soundcast-ios-sdk
License soundcast Developer’s use of the SDK is governed by the license in the applicable Soundcast Terms of Service. Some components of the SDK are governed by open source software licenses. In the event of any conflict between the license in the applicable Soundcast Terms of Service and the applicable open source license, the terms of the open source license shall prevail with respect to those components.
Platforms ios 9.0
Authors

SoundcastSampleSwift

Example

To run the example project, clone the repo, and move to the project root directory SoundcastSampleSwift run pod install

Download our sample apps

Download our sample app from our github repository

git clone https://github.com/SoundCast/soundcast-ios-sdk.git

Swift

Click here for the Swift documentation

cd SoundCastSampleSwift

Objective-C

Click here for the Objective-C documentation

cd SoundCastSampleObjectiveC

Installation

SoundcastSdk is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'SoundCastIosSdk'

Import the library in your UIView:

import SoundCastIosSdk

Implements SoundcastDelegate and SoundcastDataSource

To use:

    soundcastController = SoundcastController()
    soundcastController?.delegate = self
    soundcastController?.dataSource = self

Call to load the ad:

    soundcastController.getXML(request: ResponseModel(networkID,siteID,tagID,pageTitle,pageDescription,keywords,pageUrl,tags))

The options HashMap is used to contextualize your article, it contains :

  • SoundcastID (String)
  • pageTitle (String): Title of the page
  • pageDescription (String): Description of the page
  • keywords (String): Keywords for the targeting
  • pageUrl (String): Url of the page
  • tags (String): Tags for the targeting

Method func onSuccess(response: ResponseModel): used non-advertising returns.

Method func onSuccessParserXML(response: ObjectAds): returns the object include:

  • rid (String): VAST or DAAST id
  • duration (Int): Ad delivery time
  • mediaFiles (Array): Array media file ad
  • companionAds Array:
  • impressionTrack (String): URL for track impression event
  • clickTrack (String): URL for track click event
  • clickThrough (String): URL for track through event

Method func onError(error: String): returns an error loading the creative

Any questions

Please contact our support team.

Latest podspec

{
    "name": "SoundCastIosSdk",
    "version": "1.5.0.9",
    "summary": "IOS Soundcast SDK.",
    "description": "SDK for format VAST and DAAST",
    "homepage": "https://github.com/SoundCast/soundcast-ios-sdk",
    "license": {
        "type": "soundcast",
        "text": "Developer's use of the SDK is governed by the license in the applicable Soundcast Terms of Service. Some components of the SDK are governed by open source software licenses. In the event of any conflict between the license in the applicable Soundcast Terms of Service and the applicable open source license, the terms of the open source license shall prevail with respect to those components."
    },
    "authors": {
        "Soundcast": "https://soundcast.fm"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "**/*.{h}",
    "source": {
        "http": "https://storage.googleapis.com/sc-sdk/1.5.0.9/SoundCastIosSdk.zip"
    },
    "vendored_frameworks": "SoundCastIosSdk.framework"
}

Pin It on Pinterest

Share This