iOS SDK API Reference

Class Methods | List of all members
SKWNavigator Class Reference

Alternative class as browser navigator. More...

#import <SKWNavigator.h>

Inheritance diagram for SKWNavigator:

Class Methods

(void) + initialize:
 Initialize navigator. More...
 
(void) + terminate
 Terminate navigator. More...
 
(SKWMediaStream *__nullable) + getUserMedia:
 Get video stream. More...
 

Detailed Description

Alternative class as browser navigator.

Method Documentation

◆ getUserMedia:

+ (SKWMediaStream* __nullable) getUserMedia: (SKWMediaConstraints *__nonnull)  constraints

Get video stream.

SKWMediaConstraints* constraints = [[SKWMediaConstraints alloc] init];
SKWMediaStream* stream = [SKWNavigator getUserMedia:constraints];
Parameters
constraintsUsing media constraints.
Returns
Media stream object. Returns nil when SKWMediaConstraints.videoFlag is YES in the simulator.

◆ initialize:

+ (void) initialize: (SKWPeer *__nonnull)  peer

Initialize navigator.

Parameters
peerInitialized SKWPeer object.

◆ terminate

+ (void) terminate

Terminate navigator.

SKWPeer
A peer class.
Definition: SKWPeer.h:98
SKWMediaStream
Media stream.
Definition: SKWMediaStream.h:18
SKWNavigator
Alternative class as browser navigator.
Definition: SKWNavigator.h:18
SKWMediaConstraints
Media constraints class.
Definition: SKWMediaConstraints.h:49
+[SKWNavigator initialize:]
void initialize:(SKWPeer *__nonnull peer)
Initialize navigator.
+[SKWNavigator terminate]
void terminate()
Terminate navigator.
+[SKWNavigator getUserMedia:]
SKWMediaStream *__nullable getUserMedia:(SKWMediaConstraints *__nonnull constraints)
Get video stream.