| OLD | NEW |
| 1 /* | 1 /* |
| 2 * libjingle | 2 * libjingle |
| 3 * Copyright 2013 Google Inc. | 3 * Copyright 2013 Google Inc. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
| 9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 // of the derived classes. | 41 // of the derived classes. |
| 42 @interface RTCMediaStreamTrack : NSObject | 42 @interface RTCMediaStreamTrack : NSObject |
| 43 | 43 |
| 44 @property(nonatomic, readonly) NSString* kind; | 44 @property(nonatomic, readonly) NSString* kind; |
| 45 @property(nonatomic, readonly) NSString* label; | 45 @property(nonatomic, readonly) NSString* label; |
| 46 @property(nonatomic, weak) id<RTCMediaStreamTrackDelegate> delegate; | 46 @property(nonatomic, weak) id<RTCMediaStreamTrackDelegate> delegate; |
| 47 | 47 |
| 48 - (BOOL)isEnabled; | 48 - (BOOL)isEnabled; |
| 49 - (BOOL)setEnabled:(BOOL)enabled; | 49 - (BOOL)setEnabled:(BOOL)enabled; |
| 50 - (RTCTrackState)state; | 50 - (RTCTrackState)state; |
| 51 - (BOOL)setState:(RTCTrackState)state; | |
| 52 | 51 |
| 53 #ifndef DOXYGEN_SHOULD_SKIP_THIS | 52 #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 54 // Disallow init and don't add to documentation | 53 // Disallow init and don't add to documentation |
| 55 - (id)init __attribute__( | 54 - (id)init __attribute__( |
| 56 (unavailable("init is not a supported initializer for this class."))); | 55 (unavailable("init is not a supported initializer for this class."))); |
| 57 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ | 56 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 58 | 57 |
| 59 @end | 58 @end |
| OLD | NEW |