Latest 1.3.4-rc.1
Homepage https://github.com/crelies/AmazonFling
License MIT
Platforms ios 9.0
Dependencies Bolts
Authors

Easily integrate the Amazon Fling SDK to discover and control your FireTV in your app

Version
Swift4
Platform
License

Example

Import AmazonFling and start using the SDK:

import AmazonFling
import UIKit

final class ViewController: UIViewController {
    override func viewDidLoad() {
        super.viewDidLoad()

        let discoveryController = DiscoveryController()
        discoveryController.searchPlayer(withId: "amzn.thin.pl", andListener: self)
    }
}

extension ViewController: DiscoveryListener {
    func deviceDiscovered(_ device: RemoteMediaPlayer!) {
        print("Discovered device [(device)]")
    }

    func deviceLost(_ device: RemoteMediaPlayer!) {
        print("Lost device [(device)]")
    }

    func discoveryFailure() {
        print("Discovery failed")
    }
}

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Just install the Pod ;)

Installation

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

pod 'AmazonFling'

Changelog

Amazon Fling SDK Release Notes

Author

Christian Elies, [email protected]

License

AmazonFling is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "AmazonFling",
    "version": "1.3.4-rc.1",
    "summary": "Easily integrate the Amazon Fling SDK to discover and control your FireTV in your app.",
    "description": "Discovering and controlling your FireTV requires the Amazon Fling SDK.nThe SDK is not open source. That's why you won't find a pod for it.nI wanted to integrate the Amazon Fling SDK using Cocoapods in one of my projects.nSo I created this pod which does the magic ;)",
    "homepage": "https://github.com/crelies/AmazonFling",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Christian Elies": "[email protected]"
    },
    "source": {
        "git": "https://github.com/crelies/AmazonFling.git",
        "tag": "1.3.4-rc.1"
    },
    "platforms": {
        "ios": "9.0"
    },
    "ios": {
        "frameworks": [
            "CFNetwork",
            "Security",
            "SystemConfiguration"
        ],
        "vendored_frameworks": "Frameworks/AmazonFling.framework"
    },
    "dependencies": {
        "Bolts": [
            "1.5.1"
        ]
    },
    "user_target_xcconfig": {
        "OTHER_LDFLAGS": "$(inherited) -lc++"
    }
}

Pin It on Pinterest

Share This